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