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 {