guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 767873982c2be1539375ee274ea8cab7c027a188
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Sep 2 22:07:30 2025 +0200

    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 998e3dad2c..c829e0810e 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")

Reply via email to