From 3bbaf5b9061aca99ba4ef570e91ad0359b3ca247 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 20 Oct 2025 00:07:47 +0100 Subject: [PATCH] gnu: python-ont-fast5-api: Fix tests. * gnu/packages/bioinformatics.scm (python-ont-fast5-api): Use G-Expressions. [arguments] : 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 d6be666cf9d47aeec1f6194756ae6692e85ebee7..15d0cda04cf2e69f878ceea1c38457ecb8fbfcb0 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