aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-03-10 03:16:33 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:35 +0200
commit18ef23a5ad858af341757b7b65acc9588853e6a9 (patch)
treefe757a29ecbd2e975f090925f04361b37e580d57
parent5fc0d555f4c45af2339f046db497121c74236765 (diff)
downloadguix-18ef23a5ad858af341757b7b65acc9588853e6a9.tar.gz
guix-18ef23a5ad858af341757b7b65acc9588853e6a9.zip
gnu: Add python-snakemake-interface-common.
* gnu/packages/python-science.scm (python-snakemake-interface-common): New variable. Change-Id: Iaac3acb7f57c3b6aedda7fe48daccbd952faddd5 Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/python-science.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index e55a2aa80b..9b9453c997 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1066,6 +1066,35 @@ utilizing the power of scikit-learn, e.g., for pre-processing or doing
cross-validation.")
(license license:gpl3+))))
+(define-public python-snakemake-interface-common
+ (package
+ (name "python-snakemake-interface-common")
+ (version "1.17.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/snakemake/snakemake-interface-common")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19fyqs048zdvrmq5sdayzch850kwsyv2x6xn57cjjzcm4zpjrh9w"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python3" "tests/tests.py")))))))
+ (native-inputs (list python-poetry-core python-pytest))
+ (propagated-inputs (list python-argparse-dataclass python-configargparse))
+ (home-page "https://github.com/snakemake/snakemake-interface-common")
+ (synopsis "Common functions and classes for Snakemake and its plugins")
+ (description "This package provides common functions and classes
+for Snakemake and its plugins.")
+ (license license:expat)))
+
(define-public python-tdda
(package
(name "python-tdda")