depot/third_party/nixpkgs/pkgs/development/python-modules/spark-parser/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

36 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 ];
};
}