diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-25 18:16:19 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-25 19:10:19 +0200 |
commit | 4ad51f591426fd89a29de6382eaa762a6c822612 (patch) | |
tree | 0f4e51c92df5775048fa15f0207b9453fac98e67 /gnu/packages/bioinformatics.scm | |
parent | 8664c6230e185332167a63d3a160c3eec83fd55c (diff) | |
download | guix-4ad51f591426fd89a29de6382eaa762a6c822612.tar.gz |
gnu: tabixpp: Update to 1.1.2.
* gnu/packages/bioinformatics.scm (tabixpp): Update to 1.1.2. [source]: Simplify snippet. [inputs]: Add curl. [arguments]: Simplify and reformat.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c981d69a8e..a2f3ed6905 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -16832,7 +16832,7 @@ mutations from scRNA-Seq data.") (define-public tabixpp (package (name "tabixpp") - (version "1.1.0") + (version "1.1.2") (source (origin (method git-fetch) (uri (git-reference @@ -16840,14 +16840,13 @@ mutations from scRNA-Seq data.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1k2a3vbq96ic4lw72iwp5s3mwwc4xhdffjj584yn6l9637q9j1yd")) + (base32 "00aqs147yn8zcvxims5njwxqsbnlbjv7lnmiwqy80bfdcbhljkqf")) (modules '((guix build utils))) (snippet - #~(begin - (delete-file-recursively "htslib"))))) + '(delete-file-recursively "htslib")))) (build-system gnu-build-system) (inputs - (list bzip2 htslib xz zlib)) + (list bzip2 curl htslib xz zlib)) (arguments (list #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) (string-append "CXX=" #$(cxx-for-target)) @@ -16867,29 +16866,29 @@ mutations from scRNA-Seq data.") "-shared" "-o" "libtabixpp.so" "tabix.o" "-lhts") (invoke #$(ar-for-target) "rcs" "libtabixpp.a" "tabix.o"))) (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (lib (string-append out "/lib")) - (bin (string-append out "/bin"))) + (lambda _ + (let ((lib (string-append #$output "/lib")) + (bin (string-append #$output "/bin"))) (install-file "tabix++" bin) (install-file "libtabixpp.so" lib) (install-file "libtabixpp.a" lib) - (install-file "tabix.hpp" (string-append out "/include")) + (install-file "tabix.hpp" (string-append #$output "/include")) (mkdir-p (string-append lib "/pkgconfig")) (with-output-to-file (string-append lib "/pkgconfig/tabixpp.pc") (lambda _ - (format #t "prefix=~a~@ - exec_prefix=${prefix}~@ - libdir=${exec_prefix}/lib~@ - includedir=${prefix}/include~@ - ~@ - ~@ - Name: libtabixpp~@ - Version: ~a~@ - Description: C++ wrapper around tabix project~@ - Libs: -L${libdir} -ltabixpp~@ - Cflags: -I${includedir}~%" - out #$version))))))))) + (format #t "\ +prefix=~a~@ +exec_prefix=${prefix}~@ +libdir=${exec_prefix}/lib~@ +includedir=${prefix}/include~@ +~@ +~@ +Name: libtabixpp~@ +Version: ~a~@ +Description: C++ wrapper around tabix project~@ +Libs: -L${libdir} -ltabixpp~@ +Cflags: -I${includedir}~%" + #$output #$version))))))))) (home-page "https://github.com/ekg/tabixpp") (synopsis "C++ wrapper around tabix project") (description "This is a C++ wrapper around the Tabix project which abstracts |