summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-08-17 17:32:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-08-17 19:35:05 +0200
commit433530a5fcfd379cd954d84588ca600ad5867653 (patch)
treec3b18cdb18400765c98411e686ec6b632ca4983e
parent316a5d02b07cefbe8d54880a0c2effe563ca0661 (diff)
downloadpatches-433530a5fcfd379cd954d84588ca600ad5867653.tar
patches-433530a5fcfd379cd954d84588ca600ad5867653.tar.gz
gnu: clipper: Update to 1.1.
* gnu/packages/bioinformatics.scm (clipper): Update to 1.1. [source]: Delete pre-built libraries. [inputs]: Add python2-pandas.
-rw-r--r--gnu/packages/bioinformatics.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b31cf7cfe6..233b7a8879 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1422,7 +1422,7 @@ databases.")
(define-public clipper
(package
(name "clipper")
- (version "0.3.0")
+ (version "1.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1431,12 +1431,18 @@ databases.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1q7jpimsqln7ic44i8v2rx2haj5wvik8hc1s2syd31zcn0xk1iyq"))
+ "0pflmsvhbf8izbgwhbhj1i7349sw1f55qpqj8ljmapp16hb0p0qi"))
(modules '((guix build utils)))
(snippet
- ;; remove unnecessary setup dependency
- '(substitute* "setup.py"
- (("setup_requires = .*") "")))))
+ '(begin
+ ;; remove unnecessary setup dependency
+ (substitute* "setup.py"
+ (("setup_requires = .*") ""))
+ (for-each delete-file
+ '("clipper/src/peaks.so"
+ "clipper/src/readsToWiggle.so"))
+ (delete-file-recursively "dist/")
+ #t))))
(build-system python-build-system)
(arguments `(#:python ,python-2)) ; only Python 2 is supported
(inputs
@@ -1445,6 +1451,7 @@ databases.")
("python-cython" ,python2-cython)
("python-scikit-learn" ,python2-scikit-learn)
("python-matplotlib" ,python2-matplotlib)
+ ("python-pandas" ,python2-pandas)
("python-pysam" ,python2-pysam)
("python-numpy" ,python2-numpy)
("python-scipy" ,python2-scipy)))