567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
643 B
Nix
30 lines
643 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "arpeggio";
|
|
version = "2.0.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "Arpeggio";
|
|
inherit version;
|
|
hash = "sha256-noWtNc/GyThnaBfHrpoQAKfHKjTHHbDGhxNsRg0SuF4=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "arpeggio" ];
|
|
|
|
meta = {
|
|
description = "Recursive descent parser with memoization based on PEG grammars (aka Packrat parser)";
|
|
homepage = "https://github.com/textX/Arpeggio";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
}
|