summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-28 09:32:39 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:27 -0300
commitf534495d4146bbf3a6ae367804a01da06d4ab9b0 (patch)
treea30ce0a2c3c2004dc270333f24b139c32f28d8af /gnu/packages/python-science.scm
parent36de5a4047632acf6f08a0c48e0beb3cd3739c6e (diff)
gnu: Add python-histoprint.
* gnu/packages/python-science.scm (python-histoprint): New variable. Change-Id: I1ace11116c39e2c803afd10849c107c3f232273e
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index f1f6e8fbdc..dec0901a7a 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1291,6 +1291,30 @@ 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-histoprint
+ (package
+ (name "python-histoprint")
+ (version "2.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "histoprint" version))
+ (sha256
+ (base32 "07d2lk64gwhjvw4wccvwks3j4ig7g99q627jjxz4ans5a29p5pz1"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-click python-numpy python-uhi))
+ (native-inputs (list python-awkward
+ python-boost-histogram
+ python-hatch-vcs
+ python-hatchling
+ python-pytest
+ python-rich))
+ (home-page "https://github.com/scikit-hep/histoprint")
+ (synopsis "Pretty print histograms to the console")
+ (description "Histoprint uses a mix of terminal color codes and Unicode
+trickery (i.e. combining characters) to plot overlaying histograms.")
+ (license license:expat)))
+
(define-public python-tdda
(package
(name "python-tdda")