2018-06-23 13:27:58 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
|
2018-03-07 18:10:17 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 13:27:58 +00:00
|
|
|
pname = "antlr4-python3-runtime";
|
2018-12-25 07:51:40 +00:00
|
|
|
version = "4.7.2";
|
2018-03-07 18:10:17 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-25 07:51:40 +00:00
|
|
|
sha256 = "02xm7ccsf51vh4xsnhlg6pvchm1x3ckgv9kwm222w5drizndr30n";
|
2018-03-07 18:10:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Runtime for ANTLR";
|
|
|
|
homepage = "http://www.antlr.org/";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|