~ruther/guix-local

767873982c2be1539375ee274ea8cab7c027a188 — Janneke Nieuwenhuizen 6 months ago 75e930a
gnu: Add python-snakemake-executor-plugin-slurm.

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

Change-Id: I7ca462dc224dc6947130fa9842f26c25cd7349a4
1 files changed, 31 insertions(+), 0 deletions(-)

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