gnu: sra-tools: Update to 2.9.3.

* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.9.3.
[arguments]: Remove build phase patch-away-glibc-conflict.
This commit is contained in:
Ricardo Wurmus 2018-11-08 09:46:05 +01:00
parent b17333414f
commit 15c9609482
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5654,7 +5654,7 @@ (define-public python2-screed
(define-public sra-tools
(package
(name "sra-tools")
(version "2.8.2-1")
(version "2.9.3")
(source
(origin
(method git-fetch)
@ -5664,7 +5664,7 @@ (define-public sra-tools
(file-name (git-file-name name version))
(sha256
(base32
"12ln0pk8yajhmmj9xsfwa1qgv5m05ji40jsg17wdcls62zz6fwrk"))))
"0663gcdxkziwsmlznjxysb00621rllpbz6jwsfifq7z3dj3lwm8b"))))
(build-system gnu-build-system)
(arguments
`(#:parallel-build? #f ; not supported
@ -5733,18 +5733,6 @@ (define-public sra-tools
(assoc-ref inputs "ngs-sdk"))
(string-append "--with-hdf5-prefix="
(assoc-ref inputs "hdf5")))
#t))
;; This version of sra-tools fails to build with glibc because of a
;; naming conflict. glibc-2.25/include/bits/mathcalls.h already
;; contains a definition of "canonicalize", so we rename it.
;;
;; See upstream bug report:
;; https://github.com/ncbi/sra-tools/issues/67
(add-after 'unpack 'patch-away-glibc-conflict
(lambda _
(substitute* "tools/bam-loader/bam.c"
(("canonicalize\\(" line)
(string-append "sra_tools_" line)))
#t)))))
(native-inputs `(("perl" ,perl)))
(inputs