8 let pyjsparser = buildPythonPackage rec {
11 format = "setuptools";
13 src = fetchFromGitHub {
14 owner = "PiotrDabkowski";
16 rev = "5465d037b30e334cb0997f2315ec1e451b8ad4c1";
17 hash = "sha256-Hqay9/qsjUfe62U7Q79l0Yy01L2Bnj5xNs6427k3Br8=";
20 nativeCheckInputs = [ pytestCheckHook js2py ];
22 # escape infinite recursion with js2py
26 check = pyjsparser.overridePythonAttrs (_: { doCheck = true; });
29 pythonImportsCheck = [ "pyjsparser" ];
32 description = "Fast javascript parser (based on esprima.js)";
33 homepage = "https://github.com/PiotrDabkowski/pyjsparser";
34 license = licenses.mit;
35 maintainers = with maintainers; [ onny ];