11 buildPythonPackage rec {
16 src = fetchFromGitHub {
17 owner = "lark-parser";
19 rev = "refs/tags/${version}";
20 hash = "sha256-k74tozIgJuwtUqKKmYHlfLpCWyT2hdoygRJiIpw+GDE=";
24 # include .lark files in package data
25 # https://github.com/lark-parser/lark/pull/1308
27 url = "https://github.com/lark-parser/lark/commit/656334cb8793fd4e08a12843eaced5a7bb518be3.patch";
28 hash = "sha256-pYeNnFfXJ8xkR0KsU/KMWJ8nF+BhP9PXEANiVhT254s=";
36 # Optional import, but fixes some re known bugs & allows advanced regex features
37 propagatedBuildInputs = [ regex ];
39 pythonImportsCheck = [
52 description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
53 homepage = "https://lark-parser.readthedocs.io/";
54 changelog = "https://github.com/lark-parser/lark/releases/tag/${version}";
55 license = licenses.mit;
56 maintainers = with maintainers; [ fridh drewrisinger ];