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