From 4518b02c8b33c35ec0e483afa83777df69b2aa25 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Mon, 20 Feb 2017 20:14:01 +0100 Subject: [PATCH] simpleeval: init at 0.9.5 --- .../python-modules/simpleeval/default.nix | 16 ++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/python-modules/simpleeval/default.nix diff --git a/pkgs/development/python-modules/simpleeval/default.nix b/pkgs/development/python-modules/simpleeval/default.nix new file mode 100644 index 000000000000..cd77f66b56eb --- /dev/null +++ b/pkgs/development/python-modules/simpleeval/default.nix @@ -0,0 +1,16 @@ +{ lib, fetchurl, buildPythonPackage }: + +buildPythonPackage rec { + name = "simpleeval-${version}"; + version = "0.9.5"; + src = fetchurl { + url = "mirror://pypi/s/simpleeval/${name}.tar.gz"; + sha256 = "0sda13bqg9l4j17iczmfanxbzsg6fm9aw8i3crzsjfxx51rwj1i3"; + }; + meta = { + homepage = "https://github.com/danthedeckie/simpleeval"; + description = "A simple, safe single expression evaluator library"; + maintainers = with lib.maintainers; [ johbo ]; + license = lib.licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4e429ff4c2aa..09e9b1e23345 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -360,6 +360,8 @@ in { rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}"; + simpleeval = callPackage ../development/python-modules/simpleeval { }; + sip = callPackage ../development/python-modules/sip { }; tables = callPackage ../development/python-modules/tables {