10 buildPythonPackage rec {
11 pname = "calmjs-parse";
16 src = fetchFromGitHub {
18 repo = "calmjs.parse";
20 hash = "sha256-+tel9AJFaKqsuSjqS1KPyRjO6iU7V90ECSEYLBdfqZU=";
24 substituteInPlace setup.py \
25 --replace-fail "env['PYTHONPATH'] = 'src'" "env['PYTHONPATH'] += ':src'"
28 build-system = [ setuptools ];
38 ${python.interpreter} -m unittest calmjs.parse.tests.make_suite
43 pythonImportsCheck = [
45 "calmjs.parse.asttypes"
46 "calmjs.parse.parsers"
48 "calmjs.parse.sourcemap"
49 "calmjs.parse.unparsers.es5"
50 "calmjs.parse.walkers"
54 changelog = "https://github.com/calmjs/calmjs.parse/blob/${src.rev}/CHANGES.rst";
55 description = "Various parsers for ECMA standards";
56 homepage = "https://github.com/calmjs/calmjs.parse";
57 license = licenses.mit;
58 maintainers = with maintainers; [ dotlambda ];