gnu: bamutils: Update to 1.0.15.

* gnu/packages/bioinformatics.scm (bamutils): Update to 1.0.15.
[arguments]: Remove quasiquoting; remove USER_WARNINGS from make-flags.
[native-inputs]: Update libstatgen.
This commit is contained in:
Ricardo Wurmus 2022-12-13 15:12:14 +01:00
parent 8cc22866c2
commit 4f1a36bd7b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -242,7 +242,7 @@ (define-public bamtools
(define-public bamutils (define-public bamutils
(package (package
(name "bamutils") (name "bamutils")
(version "1.0.14") (version "1.0.15")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -251,21 +251,22 @@ (define-public bamutils
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0i2r332k1kz0jysyg89d858wqq59n16lw6dv5qmilcwshb77r9v7")))) "1pxydf9qsr8667jh525bc2wiqn9nwk8rkg05kbyfmjs8d261fl9y"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; Unclear how to run tests (list
#:make-flags #:tests? #f ;fails to link debug libraries
,#~(list "USER_WARNINGS=-std=gnu++98" ; #:test-target "test"
(string-append "INSTALLDIR=" #$output "/bin")) #:make-flags
#:phases #~(list (string-append "INSTALLDIR=" #$output "/bin"))
(modify-phases %standard-phases #:phases
(replace 'configure #~(modify-phases %standard-phases
(lambda* (#:key inputs #:allow-other-keys) (replace 'configure
(substitute* "src/Makefile" ; (lambda* (#:key inputs #:allow-other-keys)
(("^DATE=.*") "DATE=\"1970-01-01\"\n")) (substitute* "src/Makefile"
(copy-recursively (assoc-ref inputs "libstatgen") (("^DATE=.*") "DATE=\"1970-01-01\"\n"))
"../libStatGen")))))) (copy-recursively (assoc-ref inputs "libstatgen")
"../libStatGen"))))))
(inputs (inputs
(list zlib)) (list zlib))
(native-inputs (native-inputs
@ -278,7 +279,7 @@ (define-public bamutils
(file-name (git-file-name "libstatgen" version)) (file-name (git-file-name "libstatgen" version))
(sha256 (sha256
(base32 (base32
"0q9iyk046r4m7qnav8c3f28zsar25lj9nydiklwaswmzdijhi4p1")))))) "0spvbpvnpxrgj8kajpkhf1mv7kdyvj723y9zh13jykvnjh8a15j3"))))))
(home-page "https://genome.sph.umich.edu/wiki/BamUtil") (home-page "https://genome.sph.umich.edu/wiki/BamUtil")
(synopsis "Programs for working on SAM/BAM files") (synopsis "Programs for working on SAM/BAM files")
(description "This package provides several programs that perform (description "This package provides several programs that perform