guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add python-fpylll.


From: guix-commits
Subject: 01/01: gnu: Add python-fpylll.
Date: Thu, 20 Jun 2019 05:09:44 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 25cbaa9e705a4d8cde39b5a83c4c54114db45984
Author: Nicolas Goaziou <address@hidden>
Date:   Thu Jun 20 11:07:12 2019 +0200

    gnu: Add python-fpylll.
    
    * gnu/packages/algebra.scm (python-fpylll): New variable.
---
 gnu/packages/algebra.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 8d7c970..22d458d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -189,6 +189,38 @@ that computes a lattice vector closest to a given vector 
belonging to
 the real span of the lattice.")
     (license license:lgpl2.1+)))
 
+(define-public python-fpylll
+  (package
+    (name "python-fpylll")
+    (version "0.4.1")
+    (source
+     (origin
+       ;; Pypi contains and older release, so we use a tagged release from
+       ;; Github instead.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fplll/fpylll.git";)
+             (commit (string-append version "dev"))))
+       (sha256
+        (base32
+         "01x2sqdv0sbjj4g4waj0hj4rcn4bq7h17442xaqwbznym9azmn9w"))))
+    (build-system python-build-system)
+    (inputs
+     `(("fplll" ,fplll)
+       ("gmp" ,gmp)
+       ("mpfr" ,mpfr)
+       ("pari-gp" ,pari-gp)))
+    (propagated-inputs
+     `(("cysignals" ,python-cysignals)
+       ("cython" ,python-cython)
+       ("flake8" ,python-flake8)
+       ("numpy" ,python-numpy)
+       ("pytest" ,python-pytest)))
+    (home-page "https://github.com/fplll/fpylll";)
+    (synopsis "Python interface for fplll")
+    (description "fpylll is a Python wrapper for fplll.")
+    (license license:gpl2+)))
+
 (define-public pari-gp
   (package
     (name "pari-gp")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]