1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder
3 , pytestrunner, pytestCheckHook, pytest-mypy
6 buildPythonPackage rec {
10 src = fetchFromGitHub {
14 sha256 = "149ra1lwax5m1svlv4dwjfqw00lc5vwyfj6zw2v0ammmfm1b94x9";
17 disabled = pythonOlder "3.8";
19 nativeBuildInputs = [ pytestrunner ];
20 propagatedBuildInputs = [ colorama regex ];
21 checkInputs = [ pytestCheckHook pytest-mypy ];
23 pythonImportsCheck = [ "tatsu" ];
26 description = "Generates Python parsers from grammars in a variation of EBNF";
28 TatSu (the successor to Grako) is a tool that takes grammars in a
29 variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in
32 homepage = "https://tatsu.readthedocs.io/";
33 license = licenses.bsd2;
34 maintainers = with maintainers; [ primeos ];