From 915f807ce61c48c34141f0300ea7623170f4148a Mon Sep 17 00:00:00 2001 From: "guix@mawumag.com" Date: Thu, 23 May 2024 09:53:54 +0000 Subject: [PATCH] gnu: kallisto: Update to 0.50.1 See discussion at 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 --- gnu/packages/bioinformatics.scm | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 10ecac18ae..748b1901b6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -15416,7 +15416,7 @@ (define-public segemehl (define-public kallisto (package (name "kallisto") - (version "0.48.0") + (version "0.50.1") (source (origin (method git-fetch) (uri (git-reference @@ -15425,31 +15425,15 @@ (define-public kallisto (file-name (git-file-name name version)) (sha256 (base32 - "0wx1ndmhndsd60952piaa925lk8bjr59d2yr1m2hcsqcb6cdjwpn")) - (modules '((guix build utils))) - (snippet - '(delete-file-recursively "ext/htslib/")))) + "0zfs79mv75599cf9d7d3c5a3s8idgz9qvl4qfzhvhbd87y3dv7p0")))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; no "check" target - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'do-not-use-bundled-htslib - (lambda _ - (substitute* "CMakeLists.txt" - (("^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)) + (list + #:tests? #false ;no "check" target + ;; The build system attempts to link libbifrost.a into the kallisto + ;; executable before the library has been built. + #:parallel-build? #false)) + (inputs (list hdf5 zlib)) (home-page "https://pachterlab.github.io/kallisto/") (synopsis "Near-optimal RNA-Seq quantification") (description