about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2025-12-01 21:10:56 +0000
committerArun Isaac2025-12-01 22:22:51 +0000
commite40994928ba5679b15ad44ebf200624aa613e5e6 (patch)
tree341d902dc2ffce7db7601e84cded269d6b6d8ef2
parent7caf433fc1ade5575f18f1355633af1b9cb59d22 (diff)
downloadguix-bioinformatics-e40994928ba5679b15ad44ebf200624aa613e5e6.tar.gz
gn: Add htslib-1.14.
htslib-1.14 was removed from Guix upstream.
-rw-r--r--gn/packages/bioinformatics.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index e94be69..cf9cd4b 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -2980,6 +2980,25 @@ to the user.")
                  "http://www.kentinformatics.com/index.html"
                  "Free for universities and non-profit institutions.")))))
 
+(define htslib-1.14
+  (package/inherit htslib
+    (version "1.14")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/samtools/htslib/releases/download/"
+                    version "/htslib-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "0pwk8yhhvb85mi1d2qhwsb4samc3rmbcrq7b1s0jz0glaa7in8pd"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments htslib)
+       ((#:configure-flags cf #~'())
+        #~(delete "--with-external-htscodecs" #$cf))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs htslib)
+       (delete "htscodecs")))))
+
 (define-public pbbam
   (package
     (name "pbbam")