guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/09: gnu: Add htslib-for-samtools-1.2.


From: guix-commits
Subject: 04/09: gnu: Add htslib-for-samtools-1.2.
Date: Thu, 9 Dec 2021 05:20:13 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit f505f588a7d00e33d26337632548b7c7809760b8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 9 09:15:41 2021 +0100

    gnu: Add htslib-for-samtools-1.2.
    
    * gnu/packages/bioinformatics.scm (htslib-for-samtools-1.2): New variable.
---
 gnu/packages/bioinformatics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ae450b7..833a91b 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]