summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-04-19 21:33:57 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:27 -0300
commit36de5a4047632acf6f08a0c48e0beb3cd3739c6e (patch)
tree3d43738481baa7c9cdce4f8af4db3ec05d273815 /gnu/packages/python-science.scm
parent5a08490ee51ea0cf1a9fc74a51b1e9b8ce8ca4f6 (diff)
gnu: Add python-uhi.
* gnu/packages/python-science.scm (python-uhi): New variable. Change-Id: I12e802cfc9dd6473cac9657dc477e470238f1bbc
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1d5df1c862..f1f6e8fbdc 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")