9 buildPythonPackage rec {
14 src = fetchFromGitHub {
15 owner = "danthedeckie";
17 rev = "refs/tags/${version}";
18 hash = "sha256-Ryi3ZzIPQ0x/rCQFfoXDOjLuE110n/vUbpvt2IX4GyA=";
21 nativeBuildInputs = [ setuptools ];
23 nativeCheckInputs = [ pytestCheckHook ];
25 pytestFlagsArray = [ "test_simpleeval.py" ];
27 pythonImportsCheck = [ "simpleeval" ];
30 description = "Simple, safe single expression evaluator library";
31 homepage = "https://github.com/danthedeckie/simpleeval";
32 changelog = "https://github.com/danthedeckie/simpleeval/releases/tag/${version}";
33 license = licenses.mit;
34 maintainers = with maintainers; [ johbo ];