From 36de5a4047632acf6f08a0c48e0beb3cd3739c6e Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 19 Apr 2025 21:33:57 -0300 Subject: gnu: Add python-uhi. * gnu/packages/python-science.scm (python-uhi): New variable. Change-Id: I12e802cfc9dd6473cac9657dc477e470238f1bbc --- gnu/packages/python-science.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1d5df1c862c..f1f6e8fbdc4 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1264,6 +1264,33 @@ its software deployment plugins.") Snakemake and its storage plugins.") (license license:expat))) +(define-public python-uhi + (package + (name "python-uhi") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "uhi" version)) + (sha256 + (base32 "0753b7yw0zi06g4azafnk3w8i3q6js9i6wwg3pya464gygrbnncm")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy)) + (native-inputs (list python-boost-histogram + python-fastjsonschema + python-hatch-vcs + python-hatchling + python-pytest)) + (home-page "https://github.com/scikit-hep/uhi") + (synopsis "Universal Histogram Interface") + (description "This is a package meant primarily for documenting histogram +indexing and the PlottableHistogram Protocol and any future cross-library +standards. It also contains the code for the PlottableHistogram Protocol, to +be used in type checking libraries wanting to conform to the protocol. It is +not usually a runtime dependency, but only a type checking, testing, and/or +docs dependency in support of other libraries.") + (license license:bsd-3))) + (define-public python-tdda (package (name "python-tdda") -- cgit v1.3