guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 75e930a7d67d11ecfa19487295acd7cb0793d3e5
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Sep 2 22:03:56 2025 +0200
gnu: Add python-snakemake-executor-plugin-slurm-jobstep.
* gnu/packages/python-science.scm
(python-snakemake-executor-plugin-slurm-jobstep): New variable.
Change-Id: I477b8a30ae6642fa0e8d6e49a828ab0d3aa589b4
---
gnu/packages/python-science.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ce33eb570c..998e3dad2c 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2025 Nguyễn Gia Phong <[email protected]>
;;; Copyright © 2025 Jake Forster <[email protected]>
;;; Copyright © 2025 Ghislain Vaillant <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3434,6 +3435,35 @@ its software deployment plugins.")
Snakemake and its storage plugins.")
(license license:expat)))
+(define-public python-snakemake-executor-plugin-slurm-jobstep
+ (package
+ (name "python-snakemake-executor-plugin-slurm-jobstep")
+ (version "0.3.0")
+ (home-page
"https://github.com/snakemake/snakemake-executor-plugin-slurm-jobstep")
+ (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 "0ly15ywmbfcm5z7jy7dxiidpw3immsdd2k80vrm4pza721irxcar"))))
+ (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
+ snakemake))
+ (synopsis "Snakemake executor plugin: slurm-jobstep")
+ (description "A Snakemake executor plugin for running srun jobs inside of
+SLURM jobs (meant for internal use by
python-snakemake-executor-plugin-slurm).")
+ (license license:expat)))
+
(define-public python-sparse
(package
(name "python-sparse")