From d10e1abebb00faec56ae2b544f8fc5f02fd6fe7a Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 7 Aug 2025 17:06:40 +0100 Subject: [PATCH] gnu: Add python-legendkit. * gnu/packages/python-science.scm (python-legendkit): New variable. Change-Id: I98f9eb01b9162dec907b7b4a7423d718e2437fdd --- gnu/packages/python-science.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 24c56d14a2..611a16e7c0 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1544,6 +1544,32 @@ Features: @end itemize") (license license:bsd-2))) +(define-public python-legendkit + (package + (name "python-legendkit") + (version "0.3.6") + (source + (origin + (method git-fetch) ;no tests in PyPI archive + (uri (git-reference + (url "https://github.com/Marsilea-viz/legendkit") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03xdhh95w4zydwa4ahp3gyfa6i60c9s5arfcj366knckb1bnpnn9")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling + python-pytest)) + (propagated-inputs + (list python-matplotlib)) + (home-page "https://github.com/Marsilea-viz/legendki") + (synopsis "Legend creation and manipulation for matplotlib") + (description + "This package implements a functionality to create and manipulate plot +legends for @code{matplotlib}.") + (license license:expat))) + (define-public python-libneuroml (package (name "python-libneuroml")