11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
22 hash = "sha256-9N+UcgAv30s4ctgsBrOHiix4BoXhKPgxH/GOz/NIFdU=";
25 buildInputs = [ setuptools-scm ];
27 propagatedBuildInputs = [ toml ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "pure_eval" ];
34 description = "Safely evaluate AST nodes without side effects";
35 homepage = "https://github.com/alexmojaki/pure_eval";
36 license = licenses.mit;
37 maintainers = with maintainers; [ gebner ];