guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: Add python-simpleeval.


From: guix-commits
Subject: 05/09: gnu: Add python-simpleeval.
Date: Tue, 25 Aug 2020 10:41:57 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 69e983300f7522af66381a4d41335b8c3d59f8ba
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Aug 24 19:20:15 2020 -0300

    gnu: Add python-simpleeval.
    
    * gnu/packages/python-xyz.scm (python-simpleeval): New variable.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 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 7a0307f..6ddd253 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9535,6 +9535,27 @@ Features:
 @end itemize")
     (license license:expat)))
 
+(define-public python-simpleeval
+  (package
+    (name "python-simpleeval")
+    (version "0.9.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "simpleeval" version))
+       (sha256
+        (base32 "1skvl467kj83rzkhk01i0wm8m5vmh6j5znrfdizn6r18ii45a839"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/danthedeckie/simpleeval";)
+    (synopsis "Simple, safe single expression evaluator library")
+    (description
+     "This package provides a quick single file library for easily adding
+evaluatable expressions into python projects.  Say you want to allow a user
+to set an alarm volume, which could depend on the time of day, alarm level,
+how many previous alarms had gone off, and if there is music playing at the
+time.")
+    (license license:expat)))
+
 (define-public python-nbconvert
   (package
     (name "python-nbconvert")



reply via email to

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