summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-04-29 11:52:50 +0900
committerNguyễn Gia Phong <cnx@loang.net>2026-05-29 12:00:51 +0900
commit13d24ec9655a8640b1be2d65a72191e5f39f46ba (patch)
tree2afc26ba718c000522961c45e09182de514950c7 /gnu/packages/python-science.scm
parentab1cccf8d950a4124feea7c9e014f7d04fb59af3 (diff)
gnu: Remove snakemake-5.
* gnu/packages/python-science.scm (snakemake-5): Delete variable. Change-Id: I5ed4ed815a0271680ae7c7862a8acc2827b9aff9
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm79
1 files changed, 0 insertions, 79 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3ec80e60b2b..9d2746f6397 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -6584,85 +6584,6 @@ providing a clean and modern domain specific specification language (DSL) in
6584Python style, together with a fast and comfortable execution environment.") 6584Python style, together with a fast and comfortable execution environment.")
6585 (license license:expat))) 6585 (license license:expat)))
6586 6586
6587(define-public snakemake-5
6588 (package
6589 (name "snakemake")
6590 (version "5.32.2")
6591 (source
6592 (origin
6593 (method git-fetch)
6594 (uri (git-reference
6595 (url "https://github.com/snakemake/snakemake")
6596 (commit (string-append "v" version))))
6597 (file-name (git-file-name name version))
6598 (sha256
6599 (base32 "0nxp4z81vykv07kv2b6zrwk7ns8s10zqsb7vcignp8695yq3nlcm"))
6600 (snippet #~(delete-file "versioneer.py"))))
6601 (build-system pyproject-build-system)
6602 (arguments
6603 (list
6604 #:test-flags
6605 '(list
6606 ;; We have no TES support.
6607 "--ignore=tests/test_tes.py"
6608 ;; This test attempts to change S3 buckets on AWS and fails
6609 ;; because there are no AWS credentials.
6610 "--ignore=tests/test_tibanna.py"
6611 ;; It's a similar story with this test, which requires access
6612 ;; to the Google Storage service.
6613 "--ignore=tests/test_google_lifesciences.py"
6614 ;; Unclear failures.
6615 "-k" "not test_lint")
6616 #:phases
6617 #~(modify-phases %standard-phases
6618 (add-after 'unpack 'tabulate-compatibility
6619 (lambda _
6620 (substitute* "snakemake/dag.py"
6621 (("\"job\": rule,")
6622 "\"job\": rule.name,"))))
6623 ;; For cluster execution Snakemake will call Python. Since there is
6624 ;; no suitable PYTHONPATH set, cluster execution will fail. We fix
6625 ;; this by calling the snakemake wrapper instead.
6626 (add-after 'unpack 'call-wrapper-not-wrapped-snakemake
6627 (lambda _
6628 (substitute* "snakemake/executors/__init__.py"
6629 (("\\{sys.executable\\} -m snakemake")
6630 (string-append #$output "/bin/snakemake")))))
6631 (add-before 'check 'pre-check
6632 (lambda _ (setenv "HOME" "/tmp"))))))
6633 (propagated-inputs
6634 (list python-appdirs
6635 python-configargparse
6636 python-datrie
6637 python-docutils
6638 python-gitpython
6639 python-jinja2
6640 python-jsonschema
6641 python-nbformat
6642 python-networkx
6643 python-psutil
6644 python-pulp
6645 python-pyyaml
6646 python-ratelimiter
6647 python-requests
6648 python-toposort
6649 python-wrapt))
6650 (native-inputs
6651 (list git-minimal
6652 python-wrapper
6653 python-pytest
6654 python-pandas
6655 python-requests-mock
6656 python-setuptools
6657 python-versioneer))
6658 (home-page "https://snakemake.readthedocs.io")
6659 (synopsis "Python-based execution environment for make-like workflows")
6660 (description
6661 "Snakemake aims to reduce the complexity of creating workflows by
6662providing a clean and modern domain specific specification language (DSL) in
6663Python style, together with a fast and comfortable execution environment.")
6664 (license license:expat)))
6665
6666(define-public snakemake-6 6587(define-public snakemake-6
6667 (package 6588 (package
6668 (name "snakemake") 6589 (name "snakemake")