1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-21 09:40:28 +02:00

gnu: Add python-snakemake-executor-plugin-slurm-jobstep.

* gnu/packages/python-science.scm
(python-snakemake-executor-plugin-slurm-jobstep): New variable.

Change-Id: I477b8a30ae6642fa0e8d6e49a828ab0d3aa589b4
This commit is contained in:
Janneke Nieuwenhuizen
2025-09-02 22:03:56 +02:00
parent 84b56d3965
commit 75e930a7d6

View File

@@ -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")