futurile pushed a commit to branch python-team
in repository guix.

commit 1d7ab0e7965ba13d80f680ed504d14bf9e1fe1f0
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Mon Mar 10 03:16:35 2025 +0100

    gnu: Add python-snakemake-interface-report-plugins.
    
    * gnu/packages/python-science.scm
    (python-snakemake-interface-report-plugins): New variable.
    
    Change-Id: I8705ba63df668d46ffda575b18ee97bb65acdc6c
    Signed-off-by: Steve George <st...@futurile.net>
---
 gnu/packages/python-science.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index c582121b68..95db817aac 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1130,6 +1130,39 @@ for Snakemake and its plugins.")
 its executor plugins.")
     (license license:expat)))
 
+(define-public python-snakemake-interface-report-plugins
+  (package
+    (name "python-snakemake-interface-report-plugins")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://github.com/snakemake/";
+                                 "snakemake-interface-report-plugins"))
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0i6z9vk6nv2m3jsym0glrb7h9isdlfza2yq14vbqcslybdi9ykfa"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f ;circular dependency on snakemake
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "python3" "tests/tests.py")))))))
+    (propagated-inputs (list python-snakemake-interface-common python-pytest))
+    (native-inputs (list python-poetry-core))
+    (home-page (string-append "https://github.com/snakemake/";
+                              "python-snakemake-interface-report-plugins"))
+    (synopsis "Interface for Snakemake report plugins")
+    (description "This package provides a stable interface for interactions
+between Snakemake and its report plugins.")
+    (license license:expat)))
+
 (define-public python-tdda
   (package
     (name "python-tdda")

Reply via email to