1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "arpeggio";
10 version = "2.0.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 pname = "Arpeggio";
15 inherit version;
16 hash = "sha256-x5CysG4ibS3UaOT7+1t/UGzsZkFgMf3hRBzx3ioLpwA=";
17 };
18
19 nativeCheckInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "arpeggio" ];
22
23 meta = with lib; {
24 description = "Recursive descent parser with memoization based on PEG grammars (aka Packrat parser)";
25 homepage = "https://github.com/textX/Arpeggio";
26 license = licenses.mit;
27 maintainers = with maintainers; [ nickcao ];
28 };
29}