@@ 37,6 37,7 @@
;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx@disroot.org>
;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; 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")