aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-03-15 11:38:06 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-03-15 11:43:19 +0100
commit0bd166253a61f43763d488ba592c570bc6a558cd (patch)
treeb2f4acd2ad4e1c56b1af49f98bbfabef156e4dda /gnu/packages/python-xyz.scm
parent8b85aea49bc63355bffdf79a97effec6a0ba2f91 (diff)
downloadguix-0bd166253a61f43763d488ba592c570bc6a558cd.tar
guix-0bd166253a61f43763d488ba592c570bc6a558cd.tar.gz
gnu: Add python-asteval.
* gnu/packages/python-xyz.scm (python-asteval): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b308948728..9ae80bda6d 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")