guix_mirror_bot pushed a commit to branch master
in repository guix.

commit bf54c7e2644aa6368cb826b0656352e04051ebfc
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Aug 14 10:16:56 2025 +0200

    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 <[email protected]>
---
 gnu/packages/bioinformatics.scm | 41 ++++++++++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b249abb2d9..55087ed54a 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

Reply via email to