9 buildPythonPackage rec {
10 pname = "calmjs-parse";
15 src = fetchFromGitHub {
17 repo = "calmjs.parse";
19 hash = "sha256-xph+NuTkWfW0t/1vxWBSgsjU7YHQMnsm/W/XdkAnl7I=";
23 substituteInPlace setup.py \
24 --replace "env['PYTHONPATH'] = 'src'" "env['PYTHONPATH'] += ':src'"
31 propagatedBuildInputs = [
39 ${python.interpreter} -m unittest calmjs.parse.tests.make_suite
44 pythonImportsCheck = [
46 "calmjs.parse.asttypes"
47 "calmjs.parse.parsers"
49 "calmjs.parse.sourcemap"
50 "calmjs.parse.unparsers.es5"
51 "calmjs.parse.walkers"
55 changelog = "https://github.com/calmjs/calmjs.parse/blob/${src.rev}/CHANGES.rst";
56 description = "Various parsers for ECMA standards";
57 homepage = "https://github.com/calmjs/calmjs.parse";
58 license = licenses.mit;
59 maintainers = with maintainers; [ dotlambda ];