guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: Add python-asteval.


From: guix-commits
Subject: 03/06: gnu: Add python-asteval.
Date: Mon, 15 Mar 2021 06:47:09 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 0bd166253a61f43763d488ba592c570bc6a558cd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Mar 15 11:38:06 2021 +0100

    gnu: Add python-asteval.
    
    * gnu/packages/python-xyz.scm (python-asteval): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b308948..9ae80bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11586,6 +11586,27 @@ numbers with uncertainties. It can also yield the 
derivatives of any
 expression.")
     (license license:bsd-3)))
 
+(define-public python-asteval
+  (package
+    (name "python-asteval")
+    (version "0.9.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "asteval" version))
+       (sha256
+        (base32
+         "0f54sd4w1a72ij1bcxs2x7dk9xf8bzclawijf1z18bqx9f96l2gm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/newville/asteval";)
+    (synopsis "Minimalistic evaluator of Python expressions")
+    (description
+     "This package provides a minimalistic evaluator of Python expression
+using the @code{ast} module")
+    (license license:expat)))
+
 (define-public python-boto
   (package
     (name "python-boto")



reply via email to

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