guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/02: gnu: python-ont-fast5-api: Update to 4.0.0.
Date: Fri, 3 Dec 2021 08:57:31 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit b8d6e77476f9515e53cd00c007d6f4c565a3e99d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 3 14:54:42 2021 +0100

    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.
---
 gnu/packages/bioinformatics.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d180db0..cb4f1b3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13896,7 +13896,7 @@ effective when applied to the signal dataset.")
 (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 @@ effective when applied to the signal dataset.")
        (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]