30 lines
645 B
Nix
30 lines
645 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
pytestCheckHook,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "arpeggio";
|
||
|
version = "2.0.2";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "Arpeggio";
|
||
|
inherit version;
|
||
|
hash = "sha256-x5CysG4ibS3UaOT7+1t/UGzsZkFgMf3hRBzx3ioLpwA=";
|
||
|
};
|
||
|
|
||
|
nativeCheckInputs = [ pytestCheckHook ];
|
||
|
|
||
|
pythonImportsCheck = [ "arpeggio" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Recursive descent parser with memoization based on PEG grammars (aka Packrat parser)";
|
||
|
homepage = "https://github.com/textX/Arpeggio";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ nickcao ];
|
||
|
};
|
||
|
}
|