aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorpjotrp2017-10-25 10:17:38 +0000
committerpjotrp2017-10-25 10:17:38 +0000
commit0a1882996472282dcf60f6a294a4f934d40d5bad (patch)
treea585598d7009902721feda6429e5aa1541cacaec /gn/packages/python.scm
parent248b55f90f505394d884cdd80317db82e66d6d61 (diff)
downloadguix-bioinformatics-0a1882996472282dcf60f6a294a4f934d40d5bad.tar.gz
Updated GEMMA git
Added python-rpy2 since it got dropped from main
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index f9bb733..9d85892 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -42,6 +42,47 @@
#:use-module (srfi srfi-1))
+(define-public python2-rpy2
+ (package
+ (name "python2-rpy2")
+ (version "2.7.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rpy2" version))
+ (sha256
+ (base32
+ "0nhan2qvrw7b7gg5zddwa22kybdv3x1g26vkd7q8lvnkgzrs4dga"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key outputs inputs #:allow-other-keys)
+ ;; It's easier to run tests after install.
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath inputs outputs)
+ (zero? (system* "python" "-m" "rpy2.tests" "-v")))))))
+ (propagated-inputs
+ `(("python2-six" ,python2-six)))
+ (inputs
+ `(("readline" ,readline)
+ ("icu4c" ,icu4c)
+ ("pcre" ,pcre)
+ ("r-minimal" ,r-minimal)
+ ("r-survival" ,r-survival)))
+ (native-inputs
+ `(("zlib" ,zlib)))
+ (home-page "http://rpy.sourceforge.net/")
+ (synopsis "Python interface to the R language")
+ (description "rpy2 is a redesign and rewrite of rpy. It is providing a
+low-level interface to R from Python, a proposed high-level interface,
+including wrappers to graphical libraries, as well as R-like structures and
+functions.")
+ (license license:gpl3+)))
+
+
(define-public python-plotly ; guix candidate
; python-plotly, python-requests, python-pytz
(package