~ruther/guix-local

75e930a7d67d11ecfa19487295acd7cb0793d3e5 — Janneke Nieuwenhuizen 6 months ago 84b56d3
gnu: Add python-snakemake-executor-plugin-slurm-jobstep.

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

Change-Id: I477b8a30ae6642fa0e8d6e49a828ab0d3aa589b4
1 files changed, 30 insertions(+), 0 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +30 -0
@@ 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")