~ruther/guix-local

bf54c7e2644aa6368cb826b0656352e04051ebfc — Nicolas Graves 9 months ago 544ec2e
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>
1 files changed, 26 insertions(+), 15 deletions(-)

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