summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-28 10:44:49 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:27 -0300
commitd08134c28eff7c3081f6d22629eee0ca31c5c32e (patch)
tree7b608bde9ba26bf5cf73294dfd719af6f0326108 /gnu/packages/python-science.scm
parentf534495d4146bbf3a6ae367804a01da06d4ab9b0 (diff)
gnu: Add python-hist.
* gnu/packages/python-science.scm (python-hist): New variable. Change-Id: Ia3495b6d94a620b797318ffce162aa1d58e79049
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index dec0901a7a..52fa00fffe 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1315,6 +1315,31 @@ docs dependency in support of other libraries.")
trickery (i.e. combining characters) to plot overlaying histograms.")
(license license:expat)))
+(define-public python-hist
+ (package
+ (name "python-hist")
+ (version "2.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hist" version))
+ (sha256
+ (base32 "17cd46c0ixq18fr2kgzam09w1sr4qkd9l6nsjdbl4vggw80ck9vx"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-boost-histogram
+ python-histoprint
+ python-numpy
+ python-typing-extensions))
+ (native-inputs (list python-hatch-vcs
+ python-hatchling
+ python-pytest
+ python-pytest-mpl))
+ (home-page "https://hist.readthedocs.io/en/latest/")
+ (synopsis "Hist classes and utilities")
+ (description
+ "Hist is an analyst-friendly front-end for @code{boost-histogram}.")
+ (license license:bsd-3)))
+
(define-public python-tdda
(package
(name "python-tdda")