blob: aa18a0fe290738bc7044a88365ca0e7b91234be3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, buildPythonPackage, isPy3k, python
, antlr4
}:
buildPythonPackage rec {
pname = "antlr4-python2-runtime";
inherit (antlr4.runtime.cpp) version src;
disabled = isPy3k;
sourceRoot = "source/runtime/Python2";
checkPhase = ''
${python.interpreter} tests/TestTokenStreamRewriter.py
'';
meta = with lib; {
description = "Runtime for ANTLR";
homepage = "https://www.antlr.org/";
license = licenses.bsd3;
};
}
|