From 1c17f30d9bca4e06d1a9dec927d518ee8561e95c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 28 Feb 2025 11:46:17 -0300 Subject: [PATCH] gnu: Add python-hepunits. * gnu/packages/python-science.scm (python-hepunits): New variable. Change-Id: I174495c4fdacd21491e9e7d5abdd7d5dd0e5ffe8 --- gnu/packages/python-science.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 52fa00fffe1b45d0d73050e7f397a3bb2dc0509c..64d83860b48c878130acfc115cb17e09b890a66f 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")