diff options
author | Efraim Flashner | 2022-06-07 12:43:29 +0300 |
---|---|---|
committer | Efraim Flashner | 2022-06-07 12:43:29 +0300 |
commit | 6642ad1162d80399649e7d2657f31e947bf7de84 (patch) | |
tree | 3337cc6d523a2bec2bf8398b8c7342e755ae8777 | |
parent | 6b0bae3509e84968840de005dc31d25fb1525255 (diff) | |
download | guix-bioinformatics-6642ad1162d80399649e7d2657f31e947bf7de84.tar.gz |
gn: Fix building python2-bx-python.
-rw-r--r-- | gn/packages/bioinformatics.scm | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 130be16..05ffb99 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -2239,8 +2239,26 @@ cases include: @end enumerate\n") (license license:expat))) +;; 0.8.9 is the last version which supports python2. (define-public python2-bx-python - (package-with-python2 python-bx-python)) + (let ((base (python2-package python-bx-python))) + (package + (inherit base) + (name "python2-bx-python") + (version "0.8.9") + (source (origin + ;; No cythonized files in the git repository. + (method git-fetch) + (uri (git-reference + (url "https://github.com/bxlab/bx-python") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bsqnw8rv08586wksvx2a8dawvhyzvz5pzsh9y3217b6wxq98dnq")))) + (propagated-inputs + (modify-inputs (package-propagated-inputs base) + (append python2-six)))))) (define-public hap.py (package |