mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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 ];
|
|
};
|
|
}
|