gnu: kallisto: Update to 0.50.1
See discussion at <https://issues.guix.gnu.org/71146> for reasons to not unbundle htslib and libbifrost. * gnu/packages/bioinformatics.scm (kallisto): Update to 0.50.1. [source]: Do not remove bundled libraries. [arguments]: Remove phase 'do-not-use-bundled-htslib. [inputs]: Remove htslib-1.9. Change-Id: I6d3263fd49c7b07ce50185b722863b51816ff054 Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
e8044ab89b
commit
915f807ce6
@ -15416,7 +15416,7 @@ (define-public segemehl
|
|||||||
(define-public kallisto
|
(define-public kallisto
|
||||||
(package
|
(package
|
||||||
(name "kallisto")
|
(name "kallisto")
|
||||||
(version "0.48.0")
|
(version "0.50.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@ -15425,31 +15425,15 @@ (define-public kallisto
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0wx1ndmhndsd60952piaa925lk8bjr59d2yr1m2hcsqcb6cdjwpn"))
|
"0zfs79mv75599cf9d7d3c5a3s8idgz9qvl4qfzhvhbd87y3dv7p0"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(delete-file-recursively "ext/htslib/"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no "check" target
|
(list
|
||||||
#:phases
|
#:tests? #false ;no "check" target
|
||||||
(modify-phases %standard-phases
|
;; The build system attempts to link libbifrost.a into the kallisto
|
||||||
(add-after 'unpack 'do-not-use-bundled-htslib
|
;; executable before the library has been built.
|
||||||
(lambda _
|
#:parallel-build? #false))
|
||||||
(substitute* "CMakeLists.txt"
|
(inputs (list hdf5 zlib))
|
||||||
(("^ExternalProject_Add" m)
|
|
||||||
(string-append "if (NEVER)\n" m))
|
|
||||||
(("^\\)")
|
|
||||||
(string-append ")\nendif(NEVER)"))
|
|
||||||
(("include_directories\\(\\$\\{htslib_PREFIX.*" m)
|
|
||||||
(string-append "# " m)))
|
|
||||||
(substitute* "src/CMakeLists.txt"
|
|
||||||
(("target_link_libraries\\(kallisto kallisto_core pthread \
|
|
||||||
\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/../ext/htslib/libhts.a\\)")
|
|
||||||
"target_link_libraries(kallisto kallisto_core pthread hts)")
|
|
||||||
(("include_directories\\(\\.\\./ext/htslib\\)") "")))))))
|
|
||||||
(inputs
|
|
||||||
(list hdf5 htslib-1.9 zlib))
|
|
||||||
(home-page "https://pachterlab.github.io/kallisto/")
|
(home-page "https://pachterlab.github.io/kallisto/")
|
||||||
(synopsis "Near-optimal RNA-Seq quantification")
|
(synopsis "Near-optimal RNA-Seq quantification")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user