mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: bedops: Update to 2.4.41.
* gnu/packages/bioinformatics.scm (bedops): Update to 2.4.41. [arguments]: Remove trailing #T from build phases; do not set BINDIR in make-flags; set CC; replace 'install phase. [native-inputs]: Add diffutils, perl, and which.
This commit is contained in:
parent
22acc0b029
commit
3d2b2f12e5
1 changed files with 40 additions and 30 deletions
|
@ -364,7 +364,7 @@ (define-public bcftools-1.10
|
||||||
(define-public bedops
|
(define-public bedops
|
||||||
(package
|
(package
|
||||||
(name "bedops")
|
(name "bedops")
|
||||||
(version "2.4.35")
|
(version "2.4.41")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -373,39 +373,49 @@ (define-public bedops
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0mmgsgwz5r9w76hzgxkxc9s9lkdhhaf7vr6i02b09vbswvs1fyqx"))))
|
"046037qdxsn01ln28rbrwnc7wq4a3xahmb2k74l0w75dby5ni42l"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
(list
|
||||||
#:make-flags (list (string-append "BINDIR=" %output "/bin"))
|
;; We cannot run the tests because the build system makes strange
|
||||||
#:phases
|
;; assumptions about where executables are located.
|
||||||
(modify-phases %standard-phases
|
#:tests? #false
|
||||||
(add-after 'unpack 'unpack-tarballs
|
#:test-target "tests"
|
||||||
(lambda _
|
#:make-flags
|
||||||
;; FIXME: Bedops includes tarballs of minimally patched upstream
|
#~(list (string-append "CC=" #$(cc-for-target)))
|
||||||
;; libraries jansson, zlib, and bzip2. We cannot just use stock
|
#:phases
|
||||||
;; libraries because at least one of the libraries (zlib) is
|
#~(modify-phases %standard-phases
|
||||||
;; patched to add a C++ function definition (deflateInit2cpp).
|
(add-after 'unpack 'unpack-tarballs
|
||||||
;; Until the Bedops developers offer a way to link against system
|
(lambda _
|
||||||
;; libraries we have to build the in-tree copies of these three
|
;; FIXME: Bedops includes tarballs of minimally patched upstream
|
||||||
;; libraries.
|
;; libraries jansson, zlib, and bzip2. We cannot just use stock
|
||||||
|
;; libraries because at least one of the libraries (zlib) is
|
||||||
|
;; patched to add a C++ function definition (deflateInit2cpp).
|
||||||
|
;; Until the Bedops developers offer a way to link against system
|
||||||
|
;; libraries we have to build the in-tree copies of these three
|
||||||
|
;; libraries.
|
||||||
|
|
||||||
;; See upstream discussion:
|
;; See upstream discussion:
|
||||||
;; https://github.com/bedops/bedops/issues/124
|
;; https://github.com/bedops/bedops/issues/124
|
||||||
|
|
||||||
;; Unpack the tarballs to benefit from shebang patching.
|
;; Unpack the tarballs to benefit from shebang patching.
|
||||||
(with-directory-excursion "third-party"
|
(with-directory-excursion "third-party"
|
||||||
(invoke "tar" "xvf" "jansson-2.6.tar.bz2")
|
(invoke "tar" "xvf" "jansson-2.6.tar.bz2")
|
||||||
(invoke "tar" "xvf" "zlib-1.2.7.tar.bz2")
|
(invoke "tar" "xvf" "zlib-1.2.7.tar.bz2")
|
||||||
(invoke "tar" "xvf" "bzip2-1.0.6.tar.bz2"))
|
(invoke "tar" "xvf" "bzip2-1.0.6.tar.bz2"))
|
||||||
;; Disable unpacking of tarballs in Makefile.
|
;; Disable unpacking of tarballs in Makefile.
|
||||||
(substitute* "system.mk/Makefile.linux"
|
(substitute* "system.mk/Makefile.linux"
|
||||||
(("^\tbzcat .*") "\t@echo \"not unpacking\"\n")
|
(("^\tbzcat .*") "\t@echo \"not unpacking\"\n")
|
||||||
(("\\./configure") "CONFIG_SHELL=bash ./configure"))
|
(("\\./configure") "CONFIG_SHELL=bash ./configure"))
|
||||||
(substitute* "third-party/zlib-1.2.7/Makefile.in"
|
(substitute* "third-party/zlib-1.2.7/Makefile.in"
|
||||||
(("^SHELL=.*$") "SHELL=bash\n"))
|
(("^SHELL=.*$") "SHELL=bash\n"))))
|
||||||
#t))
|
(delete 'configure)
|
||||||
(delete 'configure))))
|
(replace 'install
|
||||||
|
(lambda _
|
||||||
|
(invoke "make" "install"
|
||||||
|
(string-append "BINDIR=" #$output "/bin")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list diffutils perl which))
|
||||||
(home-page "https://github.com/bedops/bedops")
|
(home-page "https://github.com/bedops/bedops")
|
||||||
(synopsis "Tools for high-performance genomic feature operations")
|
(synopsis "Tools for high-performance genomic feature operations")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue