gnu: python-ont-fast5-api: Update to 4.0.0.

* gnu/packages/bioinformatics.scm (python-ont-fast5-api): Update to 4.0.0.
[source]: Remove bundled plugin binaries.
[arguments]: Install plugin from inputs.
[inputs]: Add vbz-compression.
[propagated-inputs]: Remove python-six; add python-packaging.
This commit is contained in:
Ricardo Wurmus 2021-12-03 14:54:42 +01:00
parent d0aa14a43d
commit b8d6e77476
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -13896,7 +13896,7 @@ (define-public vbz-compression
(define-public python-ont-fast5-api
(package
(name "python-ont-fast5-api")
(version "1.4.4")
(version "4.0.0")
(source
(origin
(method git-fetch)
@ -13906,12 +13906,27 @@ (define-public python-ont-fast5-api
(file-name (git-file-name name version))
(sha256
(base32
"03cbq4zbbwhll8ml2m9k8sa31mirsvcbjkrq1yna0kkzz9fad5fm"))))
"01hj4751j424lzic2sc4bz1f8w7i7fpkjpy3rgghdyl5lyfyb4s4"))
(modules '((guix build utils)))
(snippet
'(delete-file-recursively "ont_fast5_api/vbz_plugin"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'copy-plugin
(lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "ont_fast5_api/vbz_plugin/")
(install-file (string-append
(assoc-ref inputs "vbz-compression")
"/hdf5/lib/plugin/libvbz_hdf_plugin.so")
"ont_fast5_api/vbz_plugin/"))))))
(inputs
`(("vbz-compression" ,vbz-compression)))
(propagated-inputs
`(("python-numpy" ,python-numpy)
("python-six" ,python-six)
("python-h5py" ,python-h5py)
("python-packaging" ,python-packaging)
("python-progressbar33" ,python-progressbar33)))
(home-page "https://github.com/nanoporetech/ont_fast5_api")
(synopsis "Interface to HDF5 files of the Oxford Nanopore fast5 file format")