diff options
author | Vinicius Monego <monego@posteo.net> | 2025-02-09 01:52:19 +0000 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-02-09 10:36:46 +0100 |
commit | 7f3313341caf844d9fb6919f6cdc28fdcaf06c6d (patch) | |
tree | 388e432687e2ef7565a0a149a326deb08996dea3 | |
parent | 9f5c891c6a93c0d9518e4651c44e11a71e08ef8f (diff) |
gnu: Add python-pynormaliz.vinicius
* gnu/packages/algebra.scm (python-pynormaliz): New variable.
Change-Id: I94379cfeed2a67bb4ffbda34823e4e000f4f961e
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/algebra.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index e4841daa8d..7d82e280d5 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1043,6 +1043,35 @@ computes rational and algebraic polyhedra, i.e., polyhedra defined over real algebraic extensions of QQ.") (license license:gpl3+))) +(define-public python-pynormaliz + (package + (name "python-pynormaliz") + (version "2.21") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pynormaliz" version)) + (sha256 + (base32 "0hsyxml71i2b9pa375ipbfpackj3y67jlg2rxgc433sfy3895wvf")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; tests need normaliz to be built with nauty support + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "tests/runtests.py"))))))) + (native-inputs (list python-setuptools python-wheel)) + (inputs (list flint gmp normaliz)) + (home-page "https://github.com/Normaliz/PyNormaliz") + (synopsis "Python interface to Normaliz") + (description + "PyNormaliz provides an interface to Normaliz via libNormaliz. It offers +the complete functionality of Normaliz, and can be used interactively from +Python.") + (license license:gpl2+))) + (define-public eigen (package (name "eigen") |