From 69e983300f7522af66381a4d41335b8c3d59f8ba Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 24 Aug 2020 19:20:15 -0300 Subject: gnu: Add python-simpleeval. * gnu/packages/python-xyz.scm (python-simpleeval): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7a0307f3ab..6ddd253ed9 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") -- cgit 1.4.1