diff options
author | Vinicius Monego <monego@posteo.net> | 2025-02-28 11:58:19 -0300 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2025-05-04 08:16:28 -0300 |
commit | f72ce07fa3ae7621bb5aafa809325bc77a6ef13c (patch) | |
tree | d3cf5f859f65dab4876e22c992d8645b4bb11a40 | |
parent | c1c7d09bf345c0a5e2124af43d8f6774de7b9c7d (diff) |
gnu: Add python-vector.
* gnu/packages/python-science.scm (python-vector): New variable.
Change-Id: I77d72b0c18a0bc215cb2198ce5447e587b13d0fe
-rw-r--r-- | gnu/packages/python-science.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2d1d2a35d6..98ec6834de 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1469,6 +1469,35 @@ possible to interoperate several fitting programs. Particular interest is given to programs dedicated to amplitude analyses.") (license license:bsd-3))) +(define-public python-vector + (package + (name "python-vector") + (version "1.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "vector" version)) + (sha256 + (base32 "1jhfgx54a6l1cz9as2wlwrph86f8s1882biaakx1cl31igdxjnbf")))) + (build-system pyproject-build-system) + (arguments + (list + ;; This file requires python-papermill (not yet packaged). + #:test-flags #~(list "--ignore" "tests/test_notebooks.py"))) + (propagated-inputs (list python-numpy python-packaging)) + (native-inputs (list python-awkward + python-hatch-vcs + python-hatchling + python-pytest + python-sympy)) + (home-page "https://github.com/scikit-hep/vector") + (synopsis "Arrays of 2D, 3D, and Lorentz vectors") + (description "Vector is a Python library for 2D and 3D spatial vectors, as +well as 4D space-time vectors. It is especially intended for performing +geometric calculations on arrays of vectors, rather than one vector at a time +in a Python @code{for} loop.") + (license license:bsd-3))) + (define-public python-trimesh (package (name "python-trimesh") |