37 lines
730 B
Nix
37 lines
730 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
unittestCheckHook,
|
||
|
click,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "spark-parser";
|
||
|
version = "1.9.0";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "spark_parser";
|
||
|
inherit version;
|
||
|
sha256 = "sha256-3GbUjEJlxBM9tBqcX+nBxQKzsgFn3xWKDyNM0xcSz2Q=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ click ];
|
||
|
|
||
|
nativeCheckInputs = [ unittestCheckHook ];
|
||
|
unittestFlagsArray = [
|
||
|
"-s"
|
||
|
"test"
|
||
|
"-v"
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Early-Algorithm Context-free grammar Parser";
|
||
|
mainProgram = "spark-parser-coverage";
|
||
|
homepage = "https://github.com/rocky/python-spark";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ raskin ];
|
||
|
};
|
||
|
}
|