gnu: Add htslib-for-samtools-1.2.

* gnu/packages/bioinformatics.scm (htslib-for-samtools-1.2): New variable.
This commit is contained in:
Ricardo Wurmus 2021-12-09 09:15:41 +01:00
parent 3ebcd637a5
commit f505f588a7
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4965,6 +4965,30 @@ (define htslib-1.3
(base32
"1rja282fwdc25ql6izkhdyh8ppw8x2fs0w0js78zgkmqjlikmma9"))))))
(define htslib-for-samtools-1.2
(package
(inherit htslib)
(version "1.2.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/samtools/htslib/releases/download/"
version "/htslib-" version ".tar.bz2"))
(sha256
(base32
"1c32ssscbnjwfw3dra140fq7riarp2x990qxybh34nr1p5r17nxx"))))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda _
(substitute* "test/test.pl"
(("/bin/bash") (which "bash"))))))))
(inputs
`(("zlib" ,zlib)))
(native-inputs
`(("perl" ,perl)))))
(define-public idr
(package
(name "idr")