summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-28 11:46:17 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:28 -0300
commit1c17f30d9bca4e06d1a9dec927d518ee8561e95c (patch)
treeb0fd5e8ff167e9cd016a73f88b11de74fbd7e840 /gnu/packages/python-science.scm
parentd08134c28eff7c3081f6d22629eee0ca31c5c32e (diff)
gnu: Add python-hepunits.
* gnu/packages/python-science.scm (python-hepunits): New variable. Change-Id: I174495c4fdacd21491e9e7d5abdd7d5dd0e5ffe8
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 52fa00fffe..64d83860b4 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1386,6 +1386,25 @@ reference testing, constraint discovery for data, automatic inference
of regular expressions from text data and automatic test generation.")
(license license:expat))) ; MIT License
+(define-public python-hepunits
+ (package
+ (name "python-hepunits")
+ (version "2.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hepunits" version))
+ (sha256
+ (base32 "1n1nf2rz2d86qzjmcwykbc16jzsqb45vs8lyksg98b3jd8nwsd4l"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-hatch-vcs python-hatchling python-pytest))
+ (home-page "https://github.com/scikit-hep/hepunits")
+ (synopsis "Units and constants in the HEP system of units")
+ (description "@code{hepunits} collects the most commonly used units and
+constants in the HEP System of Units, as derived from the basic units
+originally defined by the CLHEP project.")
+ (license license:bsd-3)))
+
(define-public python-trimesh
(package
(name "python-trimesh")