From 767873982c2be1539375ee274ea8cab7c027a188 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 2 Sep 2025 22:07:30 +0200 Subject: [PATCH] gnu: Add python-snakemake-executor-plugin-slurm. * gnu/packages/python-science.scm (python-snakemake-executor-plugin-slurm): New variable. Change-Id: I7ca462dc224dc6947130fa9842f26c25cd7349a4 --- gnu/packages/python-science.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 998e3dad2c300e751ccfc0cc705e99dc9ee6f782..c829e0810ee2920c449760219994e4f7eba2d43f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3464,6 +3464,37 @@ Snakemake and its storage plugins.") SLURM jobs (meant for internal use by python-snakemake-executor-plugin-slurm).") (license license:expat))) +(define-public python-snakemake-executor-plugin-slurm + (package + (name "python-snakemake-executor-plugin-slurm") + (version "1.7.0") + (home-page "https://github.com/snakemake/snakemake-executor-plugin-slurm/") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x7ghrkvmxqbcjl69hxp5axa1av3s0mdc0i9xjg8qjnd3hgd82r3")))) + (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-pandas + python-poetry-core + python-pytest + python-snakemake-executor-plugin-slurm-jobstep + snakemake)) + (synopsis "Snakemake executor plugin: slurm") + (description "A Snakemake executor plugin for running SLURM jobs.") + (license license:expat))) + (define-public python-sparse (package (name "python-sparse")