~ruther/guix-local

3bbaf5b9061aca99ba4ef570e91ad0359b3ca247 — Sharlatan Hellseher 4 months ago 16f158f
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
1 files changed, 13 insertions(+), 11 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +13 -11
@@ 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