blob: d0e8d4fab439e4a5d8497e9696396a4ff6572c40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, buildPythonPackage, isPy3k, python
, antlr4
}:
buildPythonPackage rec {
pname = "antlr4-python3-runtime";
inherit (antlr4.runtime.cpp) version src;
disabled = !isPy3k;
sourceRoot = "source/runtime/Python3";
# in 4.9, test was renamed to tests
checkPhase = ''
cd test*
${python.interpreter} ctest.py
'';
meta = with lib; {
description = "Runtime for ANTLR";
homepage = "https://www.antlr.org/";
license = licenses.bsd3;
};
}
|