gnu: samtools: Update to 1.9.

* gnu/packages/bioinformatics.scm (samtools): Update to 1.9.
[origin]: Remove bundled htslib sources.
[arguments]: Remove obsolete make-flags.
This commit is contained in:
Ricardo Wurmus 2018-10-04 21:15:47 +02:00
parent bd5f5eece9
commit 4ae4a15232
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 4 deletions

View File

@ -4997,7 +4997,7 @@ to the user's query of interest.")
(define-public samtools (define-public samtools
(package (package
(name "samtools") (name "samtools")
(version "1.8") (version "1.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -5006,15 +5006,19 @@ to the user's query of interest.")
version "/samtools-" version ".tar.bz2")) version "/samtools-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"05myg7bs90i68qbqab9cdg9rqj2xh39azibrx82ipzc5kcfvqhn9")))) "10ilqbmm7ri8z431sn90lvbjwizd0hhkf9rcqw8j823hf26nhgq8"))
(modules '((guix build utils)))
(snippet '(begin
;; Delete bundled htslib.
(delete-file-recursively "htslib-1.9")
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules ((ice-9 ftw) `(#:modules ((ice-9 ftw)
(ice-9 regex) (ice-9 regex)
(guix build gnu-build-system) (guix build gnu-build-system)
(guix build utils)) (guix build utils))
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) #:configure-flags (list "--with-ncurses")
#:configure-flags (list "--with-ncurses" "--with-htslib=system")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-tests (add-after 'unpack 'patch-tests