guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3bbaf5b9061aca99ba4ef570e91ad0359b3ca247
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 20 00:07:47 2025 +0100

    gnu: python-ont-fast5-api: Fix tests.
    
    * gnu/packages/bioinformatics.scm (python-ont-fast5-api): Use
    G-Expressions.
    [arguments] <test-backend>: Use 'unittest.
    
    Change-Id: If7058987bdda24345f5a81d29e991764352d03da
---
 gnu/packages/bioinformatics.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d6be666cf9..15d0cda04c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -22365,8 +22365,8 @@ effective when applied to the signal dataset.")
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/nanoporetech/ont_fast5_api";)
-             (commit (string-append "release_" version))))
+              (url "https://github.com/nanoporetech/ont_fast5_api";)
+              (commit (string-append "release_" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
@@ -22376,15 +22376,17 @@ effective when applied to the signal dataset.")
         '(delete-file-recursively "ont_fast5_api/vbz_plugin"))))
     (build-system pyproject-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/"))))))
+     (list
+      #:test-backend #~'unittest
+      #: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
+                             #$(this-package-input "vbz-compression")
+                             "/hdf5/lib/plugin/libvbz_hdf_plugin.so")
+                            "ont_fast5_api/vbz_plugin/"))))))
     (inputs
      (list vbz-compression))
     (propagated-inputs

Reply via email to