gnu: htslib: Update to 1.14.

* gnu/packages/bioinformatics.scm (htslib): Update to 1.14.
(htslib-1.12): New variable.
(htslib-1.10, htslib-1.9, htslib-1.3)
(htslib-for-samtools-1.2): Normalize style.
This commit is contained in:
Maxim Cournoyer 2021-12-22 21:02:19 -05:00
parent 3c9a98bf34
commit 74af2dd148
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4786,7 +4786,7 @@ (define-public fastp
(define-public htslib (define-public htslib
(package (package
(name "htslib") (name "htslib")
(version "1.12") (version "1.14")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -4794,7 +4794,7 @@ (define-public htslib
version "/htslib-" version ".tar.bz2")) version "/htslib-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1jplnvizgr0fyyvvmkfmnsywrrpqhid3760vw15bllz98qdi9012")))) "0pwk8yhhvb85mi1d2qhwsb4samc3rmbcrq7b1s0jz0glaa7in8pd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; Let htslib translate "gs://" and "s3://" to regular https links with ;; Let htslib translate "gs://" and "s3://" to regular https links with
;; "--enable-gcs" and "--enable-s3". For these options to work, we also ;; "--enable-gcs" and "--enable-s3". For these options to work, we also
@ -4820,9 +4820,20 @@ (define-public htslib
;; the rest is released under the Expat license ;; the rest is released under the Expat license
(license (list license:expat license:bsd-3)))) (license (list license:expat license:bsd-3))))
(define-public htslib-1.12
(package/inherit htslib
(version "1.12")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/samtools/htslib/releases/download/"
version "/htslib-" version ".tar.bz2"))
(sha256
(base32
"1jplnvizgr0fyyvvmkfmnsywrrpqhid3760vw15bllz98qdi9012"))))))
(define-public htslib-1.10 (define-public htslib-1.10
(package (inherit htslib) (package/inherit htslib
(name "htslib")
(version "1.10") (version "1.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -4834,8 +4845,7 @@ (define-public htslib-1.10
"0wm9ay7qgypj3mwx9zl1mrpnr36298b1aj5vx69l4k7bzbclvr3s")))))) "0wm9ay7qgypj3mwx9zl1mrpnr36298b1aj5vx69l4k7bzbclvr3s"))))))
(define-public htslib-1.9 (define-public htslib-1.9
(package (inherit htslib) (package/inherit htslib
(name "htslib")
(version "1.9") (version "1.9")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -4848,8 +4858,7 @@ (define-public htslib-1.9
;; This package should be removed once no packages rely upon it. ;; This package should be removed once no packages rely upon it.
(define htslib-1.3 (define htslib-1.3
(package (package/inherit htslib
(inherit htslib)
(version "1.3.1") (version "1.3.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -4861,8 +4870,7 @@ (define htslib-1.3
"1rja282fwdc25ql6izkhdyh8ppw8x2fs0w0js78zgkmqjlikmma9")))))) "1rja282fwdc25ql6izkhdyh8ppw8x2fs0w0js78zgkmqjlikmma9"))))))
(define htslib-for-samtools-1.2 (define htslib-for-samtools-1.2
(package (package/inherit htslib
(inherit htslib)
(version "1.2.1") (version "1.2.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)