diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-14 10:16:56 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-16 00:25:23 +0100 |
| commit | bf54c7e2644aa6368cb826b0656352e04051ebfc (patch) | |
| tree | 36bfaf328fc979c56530b95127d2c77177ab3f9c /gnu | |
| parent | 544ec2e2b95d4abb2290c8ac654c37a7a31cc301 (diff) | |
gnu: nanosv: Switch to pyproject.
* gnu/packages/bioinformatics.scm (nanosv):
[source, description]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Add python-setuptools, python-wheel.
Change-Id: If63f2534ae9b0e7cc34c4e5d59fb0947fcbe5d45
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b249abb2d99..55087ed54ae 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -24054,24 +24054,35 @@ parser for Python.") (define-public nanosv (package - (name "nanosv") - (version "1.2.4") - (source (origin - (method url-fetch) - (uri (pypi-uri "NanoSV" version)) - (sha256 - (base32 - "1wl2daj0bwrl8fx5xi8j8hfs3mp3vg3qycy66538n032v1qkc6xg")))) - (build-system python-build-system) - (inputs - (list python-configparser python-pysam python-pyvcf3)) - (home-page "https://github.com/mroosmalen/nanosv") - (synopsis "Structural variation detection tool for Oxford Nanopore data") - (description "NanoSV is a software package that can be used to identify + (name "nanosv") + (version "1.2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "NanoSV" version)) + (sha256 + (base32 "1wl2daj0bwrl8fx5xi8j8hfs3mp3vg3qycy66538n032v1qkc6xg")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; No tests upstream, even in git. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + (("'pyvcf'") + "'pyvcf3'"))))))) + (native-inputs (list python-setuptools python-wheel)) + (inputs (list python-configparser python-pysam python-pyvcf3)) + (home-page "https://github.com/mroosmalen/nanosv") + (synopsis "Structural variation detection tool for Oxford Nanopore data") + (description + "NanoSV is a software package that can be used to identify structural genomic variations in long-read sequencing data, such as data produced by Oxford Nanopore Technologies’ MinION, GridION or PromethION instruments, or Pacific Biosciences RSII or Sequel sequencers.") - (license license:expat))) + (license license:expat))) (define-public python-strawc (package |
