gnu: bcftools: Update to 1.9.
* gnu/packages/bioinformatics.scm (bcftools): Update to 1.9. [arguments]: Remove obsolete make flags.
This commit is contained in:
parent
4ae4a15232
commit
f79b59e311
|
@ -288,34 +288,25 @@ BAM files.")
|
||||||
(define-public bcftools
|
(define-public bcftools
|
||||||
(package
|
(package
|
||||||
(name "bcftools")
|
(name "bcftools")
|
||||||
(version "1.8")
|
(version "1.9")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append "https://github.com/samtools/bcftools/"
|
||||||
"https://github.com/samtools/bcftools/releases/download/"
|
"releases/download/"
|
||||||
version "/bcftools-" version ".tar.bz2"))
|
version "/bcftools-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vgw2mwngq20c530zim52zvgmw1lci8rzl33pvh44xqk3xlzvjsa"))
|
"1j3h638i8kgihzyrlnpj82xg1b23sijibys9hvwari3fy7kd0dkg"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet '(begin
|
(snippet '(begin
|
||||||
;; Delete bundled htslib.
|
;; Delete bundled htslib.
|
||||||
(delete-file-recursively "htslib-1.8")
|
(delete-file-recursively "htslib-1.9")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:configure-flags
|
||||||
#:configure-flags (list "--with-htslib=system")
|
(list "--enable-libgsl")
|
||||||
#:make-flags
|
#:test-target "test"
|
||||||
(list
|
|
||||||
"USE_GPL=1"
|
|
||||||
"LIBS=-lgsl -lgslcblas"
|
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out"))
|
|
||||||
(string-append "HTSDIR=" (assoc-ref %build-inputs "htslib") "/include")
|
|
||||||
(string-append "HTSLIB=" (assoc-ref %build-inputs "htslib") "/lib/libhts.so")
|
|
||||||
(string-append "BGZIP=" (assoc-ref %build-inputs "htslib") "/bin/bgzip")
|
|
||||||
(string-append "TABIX=" (assoc-ref %build-inputs "htslib") "/bin/tabix")
|
|
||||||
(string-append "PACKAGE_VERSION=" ,version))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'patch-tests
|
(add-before 'check 'patch-tests
|
||||||
|
|
Loading…
Reference in New Issue