futurile pushed a commit to branch python-team in repository guix. commit cbed69ef413bdcc6e825717d89db6a460cc3eb0d Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Mon Mar 10 03:16:33 2025 +0100
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 <st...@futurile.net> --- gnu/packages/python-science.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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")