aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-09 09:15:41 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-09 11:17:45 +0100
commitf505f588a7d00e33d26337632548b7c7809760b8 (patch)
tree9941776dfb39ffd9d26c495d7c00e11e0fbc6697
parent3ebcd637a589cbea1868992bd5c6f2b8477181fc (diff)
downloadguix-f505f588a7d00e33d26337632548b7c7809760b8.tar.gz
guix-f505f588a7d00e33d26337632548b7c7809760b8.zip
gnu: Add htslib-for-samtools-1.2.
* gnu/packages/bioinformatics.scm (htslib-for-samtools-1.2): New variable.
-rw-r--r--gnu/packages/bioinformatics.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ae450b7190..833a91b1f3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4965,6 +4965,30 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and
(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")