depot/third_party/nixpkgs/pkgs/development/python-modules/arpeggio/default.nix

28 lines
614 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "arpeggio";
version = "2.0.2";
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 ];
};
}