gnu: bamtools: Update to 2.5.2.

* gnu/packages/bioinformatics.scm (bamtools): Update to 2.5.2.
[arguments]: Enable tests; remove extra phases.
[inputs]: Add jsoncpp.
[native-inputs]: Add pkg-config.
This commit is contained in:
Ricardo Wurmus 2022-12-13 14:53:03 +01:00
parent 6d2afaf25b
commit 8cc22866c2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -219,7 +219,7 @@ (define-public aragorn
(define-public bamtools
(package
(name "bamtools")
(version "2.5.1")
(version "2.5.2")
(source (origin
(method git-fetch)
(uri (git-reference
@ -228,21 +228,10 @@ (define-public bamtools
(file-name (git-file-name name version))
(sha256
(base32
"0nfb2ypcx9959xnbz6wxh6py3xfizgmg8nrknxl95c507m9hmq8b"))))
"14lw571vbks138i0lj66qjdbk8iwa817x2zbpzij61vv1gdgfbn5"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no "check" target
#:phases
(modify-phases %standard-phases
(add-before
'configure 'set-ldflags
(lambda* (#:key outputs #:allow-other-keys)
(setenv "LDFLAGS"
(string-append
"-Wl,-rpath="
(assoc-ref outputs "out") "/lib/bamtools"))
#t)))))
(inputs (list zlib))
(inputs (list jsoncpp zlib))
(native-inputs (list pkg-config))
(home-page "https://github.com/pezmaster31/bamtools")
(synopsis "C++ API and command-line toolkit for working with BAM data")
(description