mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: bcftools: Update to 1.14.
* gnu/packages/bioinformatics.scm (bcftools): Update to 1.14. (bcftools-1.12): New variable. (bcftools-1.10): Use package/inherit and delete trailing #t. [name]: Delete field.
This commit is contained in:
parent
23fdb5a69c
commit
801d0ed622
1 changed files with 24 additions and 13 deletions
|
@ -373,7 +373,7 @@ (define-public bamutils
|
|||
(define-public bcftools
|
||||
(package
|
||||
(name "bcftools")
|
||||
(version "1.12")
|
||||
(version "1.14")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/samtools/bcftools/"
|
||||
|
@ -381,12 +381,11 @@ (define-public bcftools
|
|||
version "/bcftools-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1x94l1hy2pi3lbz0sxlbw0g6q5z5apcrhrlcwda94ns9n4r6a3ks"))
|
||||
"1jqrma16fx8kpvb3c0462dg0asvmiv5yi8myqmc5ddgwi6p8ivxp"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
;; Delete bundled htslib.
|
||||
(delete-file-recursively "htslib-1.12")
|
||||
#t))))
|
||||
(delete-file-recursively "htslib-1.14")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
|
@ -397,8 +396,7 @@ (define-public bcftools
|
|||
(add-before 'check 'patch-tests
|
||||
(lambda _
|
||||
(substitute* "test/test.pl"
|
||||
(("/bin/bash") (which "bash")))
|
||||
#t)))))
|
||||
(("/bin/bash") (which "bash"))))))))
|
||||
(native-inputs
|
||||
(list htslib perl))
|
||||
(inputs
|
||||
|
@ -412,9 +410,25 @@ (define-public bcftools
|
|||
;; The sources are dual MIT/GPL, but becomes GPL-only when USE_GPL=1.
|
||||
(license (list license:gpl3+ license:expat))))
|
||||
|
||||
(define-public bcftools-1.12
|
||||
(package/inherit bcftools
|
||||
(version "1.12")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/samtools/bcftools/"
|
||||
"releases/download/"
|
||||
version "/bcftools-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1x94l1hy2pi3lbz0sxlbw0g6q5z5apcrhrlcwda94ns9n4r6a3ks"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
;; Delete bundled htslib.
|
||||
(delete-file-recursively "htslib-1.12")))))
|
||||
(native-inputs (list htslib-1.12 perl))))
|
||||
|
||||
(define-public bcftools-1.10
|
||||
(package (inherit bcftools)
|
||||
(name "bcftools")
|
||||
(package/inherit bcftools
|
||||
(version "1.10")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
|
@ -427,11 +441,8 @@ (define-public bcftools-1.10
|
|||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
;; Delete bundled htslib.
|
||||
(delete-file-recursively "htslib-1.10")
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
(list htslib-1.10 perl))))
|
||||
(delete-file-recursively "htslib-1.10")))))
|
||||
(native-inputs (list htslib-1.10 perl))))
|
||||
|
||||
(define-public bedops
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue