gnu: clipper: Update to 1.2.1.
* gnu/packages/bioinformatics.scm (clipper): Update to 1.2.1. [source]: Fetch from git. [arguments]: Add fix-typo phase.
This commit is contained in:
parent
895cf8278a
commit
8b4102b903
1 changed files with 18 additions and 12 deletions
|
@ -1707,29 +1707,35 @@ databases.")
|
||||||
(define-public clipper
|
(define-public clipper
|
||||||
(package
|
(package
|
||||||
(name "clipper")
|
(name "clipper")
|
||||||
(version "1.1")
|
(version "1.2.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/YeoLab/clipper/archive/"
|
(url "https://github.com/YeoLab/clipper.git")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pflmsvhbf8izbgwhbhj1i7349sw1f55qpqj8ljmapp16hb0p0qi"))
|
"0fja1rj84wp9vpj8rxpj3n8zqzcqq454m904yp9as1w4phccirjb"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; remove unnecessary setup dependency
|
;; remove unnecessary setup dependency
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("setup_requires = .*") ""))
|
(("setup_requires = .*") ""))
|
||||||
(for-each delete-file
|
|
||||||
'("clipper/src/peaks.so"
|
|
||||||
"clipper/src/readsToWiggle.so"))
|
|
||||||
(delete-file-recursively "dist/")
|
|
||||||
#t))))
|
#t))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments `(#:python ,python-2)) ; only Python 2 is supported
|
(arguments
|
||||||
|
`(#:python ,python-2 ; only Python 2 is supported
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
;; This is fixed in upstream commit
|
||||||
|
;; f6c2990198f906bf97730d95695b4bd5a6d01ddb.
|
||||||
|
(add-after 'unpack 'fix-typo
|
||||||
|
(lambda _
|
||||||
|
(substitute* "clipper/src/readsToWiggle.pyx"
|
||||||
|
(("^sc.*") ""))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("htseq" ,python2-htseq)
|
`(("htseq" ,python2-htseq)
|
||||||
("python-pybedtools" ,python2-pybedtools)
|
("python-pybedtools" ,python2-pybedtools)
|
||||||
|
|
Reference in a new issue