mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: htslib: Update to 1.21.
* gnu/packages/bioinformatics.scm (htslib): Update to 1.21. (htslib-1.19): New variable. Change-Id: If2a53871e69c606d3aebe820ee75bcc945d939b0
This commit is contained in:
parent
6309ac44c6
commit
89408dc096
1 changed files with 42 additions and 0 deletions
|
@ -9228,6 +9228,48 @@ name/ID compression and quality score compression derived from fqzcomp.")
|
||||||
(define-public htslib
|
(define-public htslib
|
||||||
(package
|
(package
|
||||||
(name "htslib")
|
(name "htslib")
|
||||||
|
(version "1.21")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/samtools/htslib/releases/download/"
|
||||||
|
version "/htslib-" version ".tar.bz2"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"08qq1yn6lqqnww532s11nr6gz0gfpn58rn3gy90kd5pl6pki1dc4"))
|
||||||
|
(snippet
|
||||||
|
#~(begin
|
||||||
|
(use-modules (guix build utils))
|
||||||
|
(delete-file-recursively "htscodecs")))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
;; Let htslib translate "gs://" and "s3://" to regular https links with
|
||||||
|
;; "--enable-gcs" and "--enable-s3". For these options to work, we also
|
||||||
|
;; need to set "--enable-libcurl".
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags '("--enable-gcs"
|
||||||
|
"--enable-libcurl"
|
||||||
|
"--enable-s3"
|
||||||
|
"--with-external-htscodecs")))
|
||||||
|
(inputs
|
||||||
|
(list bzip2 curl openssl xz))
|
||||||
|
;; This is referred to in the pkg-config file as a required library.
|
||||||
|
(propagated-inputs
|
||||||
|
(list htscodecs zlib))
|
||||||
|
(native-inputs
|
||||||
|
(list perl))
|
||||||
|
(home-page "https://www.htslib.org")
|
||||||
|
(synopsis "C library for reading/writing high-throughput sequencing data")
|
||||||
|
(description
|
||||||
|
"HTSlib is a C library for reading/writing high-throughput sequencing
|
||||||
|
data. It also provides the @command{bgzip}, @command{htsfile}, and
|
||||||
|
@command{tabix} utilities.")
|
||||||
|
;; Files under cram/ are released under the modified BSD license;
|
||||||
|
;; the rest is released under the Expat license
|
||||||
|
(license (list license:expat license:bsd-3))))
|
||||||
|
|
||||||
|
(define-public htslib-1.19
|
||||||
|
(package
|
||||||
|
(inherit htslib)
|
||||||
(version "1.19")
|
(version "1.19")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue