diff mbox series

[bug#56729,RFC,v2,13/29] gnu: Add python-pplpy.

Message ID 02d359414dd0b7091c5875ae37f4a2adfe466584.1659973115.git.guix@ikherbers.com
State New
Headers show
Series Add sagemath. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

vicvbcun Aug. 8, 2022, 3:45 p.m. UTC
* gnu/packages/sagemath.scm (python-pplpy): New variable.
---
 gnu/packages/sagemath.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 2e9de70e4a..335d98d9f4 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -36,6 +36,7 @@  (define-module (gnu packages sagemath)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages image)
   #:use-module (gnu packages lisp)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
@@ -373,3 +374,29 @@  (define-public python-memory-allocator
     (synopsis "An extension class to allocate memory easily with cython")
     (description "An extension class to allocate memory easily with cython")
     (license license:gpl3)))
+
+(define-public python-pplpy
+  (package
+    (name "python-pplpy")
+    (version "0.8.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pplpy" version))
+              (sha256
+               (base32
+                "1gfq5czkqxl395k06s77zij3xv7maiwagjvzmrpraxhsmvsd02sh"))))
+    (build-system python-build-system)
+    (inputs (list gmp
+                  mpc
+                  mpfr
+                  pari-gp
+                  ppl
+                  python-cysignals
+                  python-gmpy2))
+    (native-inputs (list python-cython))
+    (home-page "https://gitlab.com/videlec/pplpy")
+    (synopsis "Python PPL wrapper")
+    (description
+     "This Python module pplpy provides a wrapper to the C++ Parma Polyhedra
+Library (PPL).")
+    (license license:gpl3)))