diff options
Diffstat (limited to 'pkgs/development/python-modules/simpleeval/default.nix')
-rw-r--r-- | pkgs/development/python-modules/simpleeval/default.nix | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/simpleeval/default.nix b/pkgs/development/python-modules/simpleeval/default.nix index 57693fb3791c..df1765637a5e 100644 --- a/pkgs/development/python-modules/simpleeval/default.nix +++ b/pkgs/development/python-modules/simpleeval/default.nix @@ -1,37 +1,30 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, setuptools -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pytestCheckHook, }: buildPythonPackage rec { pname = "simpleeval"; - version = "0.9.13"; + version = "1.0.0"; format = "pyproject"; src = fetchFromGitHub { owner = "danthedeckie"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-I1GILYPE6OyotgRe0Ek/iHHv6q9/b/MlcTxMAtfZD80="; + hash = "sha256-Ryi3ZzIPQ0x/rCQFfoXDOjLuE110n/vUbpvt2IX4GyA="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pytestFlagsArray = [ - "test_simpleeval.py" - ]; + pytestFlagsArray = [ "test_simpleeval.py" ]; - pythonImportsCheck = [ - "simpleeval" - ]; + pythonImportsCheck = [ "simpleeval" ]; meta = with lib; { description = "Simple, safe single expression evaluator library"; |