summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-02-28 11:54:39 -0300
committerVinicius Monego <monego@posteo.net>2025-05-04 08:16:28 -0300
commitc1c7d09bf345c0a5e2124af43d8f6774de7b9c7d (patch)
tree34995352c14b5cbf04bf684802e68191161e9ba5 /gnu/packages/python-science.scm
parentdae53624361954dde38af10927434b608dd86ea2 (diff)
gnu: Add python-decaylanguage.
* gnu/packages/python-science.scm (python-decaylanguage): New variable. Change-Id: I5c709016f80b19cef22105bff42ca62b8f384f1b
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 19acbb157d..2d1d2a35d6 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -63,6 +63,7 @@
#:use-module (gnu packages digest)
#:use-module (gnu packages gcc)
#:use-module (gnu packages geo)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages machine-learning)
@@ -1433,6 +1434,41 @@ originally defined by the CLHEP project.")
particle information and extra goodies.")
(license license:bsd-3)))
+(define-public python-decaylanguage
+ (package
+ (name "python-decaylanguage")
+ (version "0.18.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "decaylanguage" version))
+ (sha256
+ (base32 "0kc9i9k51kg2zv8dwywpigiipxzmyxpzb101imjsvv1licip7b8v"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; This file fails to be collected with "DeprecationWarning: setDaemon()
+ ;; is deprecated, set the daemon attribute instead".
+ #:test-flags #~(list "--ignore" "tests/test_convert.py")))
+ (propagated-inputs (list python-attrs
+ python-graphviz
+ python-hepunits
+ python-lark
+ python-numpy
+ python-pandas
+ python-particle
+ python-plumbum))
+ (native-inputs (list python-hatch-vcs
+ python-hatchling
+ python-pytest))
+ (home-page "https://decaylanguage.readthedocs.io/en/latest/")
+ (synopsis "Language to describe, manipulate and convert particle decays")
+ (description "DecayLanguage implements a language to describe and convert
+particle decays between digital representations, effectively making it
+possible to interoperate several fitting programs. Particular interest is
+given to programs dedicated to amplitude analyses.")
+ (license license:bsd-3)))
+
(define-public python-trimesh
(package
(name "python-trimesh")