9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
18 repo = "esprima-python";
20 sha256 = "WtkPCReXhxyr6pOzE9gsdIeBlLk+nSnbxkS3OowEaHo=";
23 nativeCheckInputs = [ pytestCheckHook ];
25 pytestFlagsArray = [ "test/__main__.py::TestEsprima" ];
27 pythonImportsCheck = [ "esprima" ];
30 description = "Python parser for standard-compliant ECMAScript";
31 mainProgram = "esprima";
32 homepage = "https://github.com/Kronuz/esprima-python";
33 license = licenses.bsd2;
34 maintainers = with maintainers; [ fab ];