blob: d8996a153e64ca93d2eeb1b9b079827f51c00aae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, regex
# Test inputs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "lark-parser";
version = "0.11.2";
src = fetchFromGitHub {
owner = "lark-parser";
repo = "lark";
rev = version;
sha256 = "1v1piaxpz4780km2z5i6sr9ygi9wpn09yyh999b3f4y0dcz20pbd";
};
propagatedBuildInputs = [ regex ];
checkInputs = [ pytestCheckHook ];
disabledTestPaths = [
"tests/test_nearley" # requires Js2Py package (not in nixpkgs)
];
disabledTests = [
"test_override_rule" # has issue with file access paths
];
meta = with lib; {
description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface";
homepage = "https://github.com/lark-parser/lark";
license = licenses.mit;
maintainers = with maintainers; [ fridh drewrisinger ];
};
}
|