diff options
author | Efraim Flashner | 2020-08-18 08:19:36 -0500 |
---|---|---|
committer | Efraim Flashner | 2020-08-18 08:19:52 -0500 |
commit | 926ff576bf67febe2ceb6d07d2dbc442fcaf5270 (patch) | |
tree | 21f1eb2aece0424574ddcab57ccaff73d97e5c4a | |
parent | 3305d6668ca59282cd01e908437570e6d6423ffd (diff) | |
download | guix-bioinformatics-926ff576bf67febe2ceb6d07d2dbc442fcaf5270.tar.gz |
gn: Add python24-rpy2
-rw-r--r-- | gn/packages/python24.scm | 32 | ||||
-rw-r--r-- | gn/services/genenetwork.scm | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/gn/packages/python24.scm b/gn/packages/python24.scm index 8dc237f..6f27e22 100644 --- a/gn/packages/python24.scm +++ b/gn/packages/python24.scm @@ -6,11 +6,13 @@ #:use-module (guix git-download) #:use-module (guix build-system python) #:use-module (gn packages python) + #:use-module (gn packages statistics) #:use-module (past packages python) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages maths) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages statistics) #:use-module (srfi srfi-1)) (define (default-python2.4) @@ -445,3 +447,33 @@ for Python. The design goals are: @item Compatibility with MySQL-3.23 and later @end itemize") (license license:gpl2+))) + +(define-public python24-rpy2 + (package + (inherit python-rpy2) + (name "python24-rpy2") + (version "2.0.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rpy2" version)) + (sha256 + (base32 + "0g6vmv4pxc9bwb756z1vfdlzviib84afjmp4l5cw22x8qqvw1s9s")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2.4 + #:use-setuptools? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (with-directory-excursion "rpy" + ;(invoke "python" "tests.py") + (invoke "python" "tests_rpy_classic.py"))))))) + (inputs `()) + (propagated-inputs + `(("python-numpy" ,python24-numpy-1.2) + ("r-minimal" ,r-minimal-2) + ("r-survival" ,r-2-survival))))) diff --git a/gn/services/genenetwork.scm b/gn/services/genenetwork.scm index 410827a..94769fa 100644 --- a/gn/services/genenetwork.scm +++ b/gn/services/genenetwork.scm @@ -84,6 +84,7 @@ python24-pyx python24-pyxlwriter python24-qtlreaper + python24-rpy2 python24-svg-GN1 %base-packages)) |