9 buildPythonPackage rec {
14 src = fetchFromGitHub {
15 owner = "lark-parser";
17 rev = "refs/tags/${version}";
18 hash = "sha256-02NX/2bHTYSVTDLLudJmEU2DcQNn0Ke+5ayilKLlwqA=";
21 nativeBuildInputs = [ setuptools ];
23 # Optional import, but fixes some re known bugs & allows advanced regex features
24 propagatedBuildInputs = [ regex ];
26 pythonImportsCheck = [
33 # Js2py is needed for tests but it's unmaintained and insecure
37 description = "Modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
38 homepage = "https://lark-parser.readthedocs.io/";
39 changelog = "https://github.com/lark-parser/lark/releases/tag/${version}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ drewrisinger ];