summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-28 11:48:47 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:28 -0300
commitdae53624361954dde38af10927434b608dd86ea2 (patch)
tree3e204e3ef645b88dfce3bbdb66e0203ba7d710ae /gnu/packages/python-science.scm
parent1c17f30d9bca4e06d1a9dec927d518ee8561e95c (diff)
gnu: Add python-particle.
* gnu/packages/python-science.scm (python-particle): New variable. Change-Id: Ib2462e25aadba797532c005a3b4d4e4a238a611e
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 64d83860b4..19acbb157d 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1405,6 +1405,34 @@ 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-particle
+ (package
+ (name "python-particle")
+ (version "0.25.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "particle" version))
+ (sha256
+ (base32 "0as50k5hinxszsm6lnghnmx2cyjy77c0i2gvzf2q64g2x5b7xkvq"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-attrs
+ python-hepunits
+ python-typing-extensions))
+ (native-inputs (list python-hatch-vcs
+ python-hatchling
+ python-pandas
+ python-pytest
+ python-pytest-benchmark
+ python-tabulate))
+ (home-page "https://github.com/scikit-hep/particle")
+ (synopsis "Extended PDG particle data and MC identification codes")
+ (description
+ "@code{Particle} provides a pythonic interface to the Particle Data Group
+(PDG) particle data tables and particle identification codes, with extended
+particle information and extra goodies.")
+ (license license:bsd-3)))
+
(define-public python-trimesh
(package
(name "python-trimesh")