gnu: libbigwig: Update to 0.4.2.
* gnu/packages/bioinformatics.scm (libbigwig): Update to 0.4.2. [source]: Fetch from git. [arguments]: Disable tests; remove build phases "disable-curl-test" and "create-target-dirs". [native-inputs]: Add python-2.
This commit is contained in:
parent
ca1dc4c76a
commit
0d7974c376
|
@ -1887,42 +1887,33 @@ other types of unwanted sequence from high-throughput sequencing reads.")
|
||||||
(define-public libbigwig
|
(define-public libbigwig
|
||||||
(package
|
(package
|
||||||
(name "libbigwig")
|
(name "libbigwig")
|
||||||
(version "0.1.4")
|
(version "0.4.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/dpryan79/libBigWig/"
|
(uri (git-reference
|
||||||
"archive/" version ".tar.gz"))
|
(url "https://github.com/dpryan79/libBigWig.git")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(commit version)))
|
||||||
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"098rjh35pi4a9q83n8wiwvyzykjqj6l8q189p1xgfw4ghywdlvw1"))))
|
"0h2smg24v5srdcqzrmz2g23cmlp4va465mgx8r2z571sfz8pv454"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
|
#:tests? #f ; tests require access to the web
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list "CC=gcc"
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(add-before 'check 'disable-curl-test
|
|
||||||
(lambda _
|
|
||||||
(substitute* "Makefile"
|
|
||||||
(("./test/testRemote.*") ""))
|
|
||||||
#t))
|
|
||||||
;; This has been fixed with the upstream commit 4ff6959cd8a0, but
|
|
||||||
;; there has not yet been a release containing this change.
|
|
||||||
(add-before 'install 'create-target-dirs
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(mkdir-p (string-append out "/lib"))
|
|
||||||
(mkdir-p (string-append out "/include"))
|
|
||||||
#t))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)
|
`(("zlib" ,zlib)
|
||||||
("curl" ,curl)))
|
("curl" ,curl)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("doxygen" ,doxygen)))
|
`(("doxygen" ,doxygen)
|
||||||
|
;; Need for tests
|
||||||
|
("python" ,python-2)))
|
||||||
(home-page "https://github.com/dpryan79/libBigWig")
|
(home-page "https://github.com/dpryan79/libBigWig")
|
||||||
(synopsis "C library for handling bigWig files")
|
(synopsis "C library for handling bigWig files")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue