From 04209b9af8bb8335b905f0b90d568b81b5305851 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 17 Aug 2026 21:19:31 +0200 Subject: gnu: Add python-snakemake-logger-plugin-rich. * gnu/packages/python-science.scm (python-snakemake-logger-plugin-rich): New variable. Relates-to: guix/guix!10625 Reviewed-by: Hugo Buddelmeijer Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-science.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c7cd24f0460..8ab71d88479 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -6004,6 +6004,42 @@ its software deployment plugins.") Snakemake and its storage plugins.") (license license:expat))) +(define-public python-snakemake-logger-plugin-rich + (package + (name "python-snakemake-logger-plugin-rich") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cademirch/snakemake-logger-plugin-rich") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07r2gqhxqs5ijqh4yjrdcwj60aqr66iglm6jvdwkgr9x0dmg7j4h")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: --logger argument is not recognized. + #:tests? #f)) + (propagated-inputs + (list python-pydantic + python-rich + python-snakemake-interface-executor-plugins + (package/inherit python-snakemake-interface-logger-plugins + (name "python-snakemake-interface-logger-plugins-bootstrap") + (arguments (list #:tests? #f)) + (native-inputs (list python-hatchling))))) + (native-inputs + (list python-hatchling + python-pytest)) + (home-page "https://github.com/cademirch/snakemake-logger-plugin-rich") + (synopsis "Log plugin for snakemake using Rich") + (description "This package provides a logging plugin for Snakemake +that utilizes @code{python-rich} for enhanced terminal styling and +progress bars.") + (license license:expat))) + (define-public python-sparse (package (name "python-sparse") -- cgit v1.2.3