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.
This commit is contained in:
parent
8664c6230e
commit
4ad51f5914
1 changed files with 21 additions and 22 deletions
|
@ -16832,7 +16832,7 @@ mutations from scRNA-Seq data.")
|
||||||
(define-public tabixpp
|
(define-public tabixpp
|
||||||
(package
|
(package
|
||||||
(name "tabixpp")
|
(name "tabixpp")
|
||||||
(version "1.1.0")
|
(version "1.1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -16840,14 +16840,13 @@ mutations from scRNA-Seq data.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1k2a3vbq96ic4lw72iwp5s3mwwc4xhdffjj584yn6l9637q9j1yd"))
|
(base32 "00aqs147yn8zcvxims5njwxqsbnlbjv7lnmiwqy80bfdcbhljkqf"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
'(delete-file-recursively "htslib"))))
|
||||||
(delete-file-recursively "htslib")))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list bzip2 htslib xz zlib))
|
(list bzip2 curl htslib xz zlib))
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
(list #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "CXX=" #$(cxx-for-target))
|
(string-append "CXX=" #$(cxx-for-target))
|
||||||
|
@ -16867,29 +16866,29 @@ mutations from scRNA-Seq data.")
|
||||||
"-shared" "-o" "libtabixpp.so" "tabix.o" "-lhts")
|
"-shared" "-o" "libtabixpp.so" "tabix.o" "-lhts")
|
||||||
(invoke #$(ar-for-target) "rcs" "libtabixpp.a" "tabix.o")))
|
(invoke #$(ar-for-target) "rcs" "libtabixpp.a" "tabix.o")))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let ((lib (string-append #$output "/lib"))
|
||||||
(lib (string-append out "/lib"))
|
(bin (string-append #$output "/bin")))
|
||||||
(bin (string-append out "/bin")))
|
|
||||||
(install-file "tabix++" bin)
|
(install-file "tabix++" bin)
|
||||||
(install-file "libtabixpp.so" lib)
|
(install-file "libtabixpp.so" lib)
|
||||||
(install-file "libtabixpp.a" 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"))
|
(mkdir-p (string-append lib "/pkgconfig"))
|
||||||
(with-output-to-file (string-append lib "/pkgconfig/tabixpp.pc")
|
(with-output-to-file (string-append lib "/pkgconfig/tabixpp.pc")
|
||||||
(lambda _
|
(lambda _
|
||||||
(format #t "prefix=~a~@
|
(format #t "\
|
||||||
exec_prefix=${prefix}~@
|
prefix=~a~@
|
||||||
libdir=${exec_prefix}/lib~@
|
exec_prefix=${prefix}~@
|
||||||
includedir=${prefix}/include~@
|
libdir=${exec_prefix}/lib~@
|
||||||
~@
|
includedir=${prefix}/include~@
|
||||||
~@
|
~@
|
||||||
Name: libtabixpp~@
|
~@
|
||||||
Version: ~a~@
|
Name: libtabixpp~@
|
||||||
Description: C++ wrapper around tabix project~@
|
Version: ~a~@
|
||||||
Libs: -L${libdir} -ltabixpp~@
|
Description: C++ wrapper around tabix project~@
|
||||||
Cflags: -I${includedir}~%"
|
Libs: -L${libdir} -ltabixpp~@
|
||||||
out #$version)))))))))
|
Cflags: -I${includedir}~%"
|
||||||
|
#$output #$version)))))))))
|
||||||
(home-page "https://github.com/ekg/tabixpp")
|
(home-page "https://github.com/ekg/tabixpp")
|
||||||
(synopsis "C++ wrapper around tabix project")
|
(synopsis "C++ wrapper around tabix project")
|
||||||
(description "This is a C++ wrapper around the Tabix project which abstracts
|
(description "This is a C++ wrapper around the Tabix project which abstracts
|
||||||
|
|
Reference in a new issue