mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-pypairix: Update to 0.3.7 and build programs.
* gnu/packages/bioinformatics.scm (python-pypairix): Update to 0.3.7. [source]: Fetch from github. [arguments]: Add phases "build-programs" and "install-programs".
This commit is contained in:
parent
4c8700fd84
commit
0266094531
1 changed files with 20 additions and 7 deletions
|
@ -13788,18 +13788,31 @@ (define-public python-intervaltree
|
||||||
(define-public python-pypairix
|
(define-public python-pypairix
|
||||||
(package
|
(package
|
||||||
(name "python-pypairix")
|
(name "python-pypairix")
|
||||||
(version "0.3.6")
|
(version "0.3.7")
|
||||||
|
;; The tarball on pypi does not include the makefile to build the
|
||||||
|
;; programs.
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "pypairix" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/4dn-dcic/pairix.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0zs92b74s5v4xy2h16s15f3z6l4nnbw8x8zyif7xx5xpafjn0xss"))))
|
"1snr3lrmsld8sy77ng6ba6wcmd33xjccf1l2f3m6pi29xis9nd6p"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; FIXME: the tests fail because test.support cannot be loaded:
|
(arguments
|
||||||
;; ImportError: cannot import name 'support'
|
`(#:phases
|
||||||
(arguments '(#:tests? #f))
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'build-programs
|
||||||
|
(lambda _ (invoke "make")))
|
||||||
|
(add-after 'install 'install-programs
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(copy-recursively "bin" (string-append
|
||||||
|
(assoc-ref outputs "out")
|
||||||
|
"/bin"))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(home-page "https://github.com/4dn-dcic/pairix")
|
(home-page "https://github.com/4dn-dcic/pairix")
|
||||||
|
|
Loading…
Reference in a new issue