summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-20 00:07:47 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-20 00:07:52 +0100
commit3bbaf5b9061aca99ba4ef570e91ad0359b3ca247 (patch)
tree8b25b841c3e667c7aa60580d96381d34f6234ae7
parent16f158f858f0f99edafde1e2a96088118b702b67 (diff)
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
-rw-r--r--gnu/packages/bioinformatics.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d6be666cf9d..15d0cda04cf 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