depot/third_party/nixpkgs/pkgs/development/python-modules/spark-parser/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

36 lines
731 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
unittestCheckHook,
click,
}:
buildPythonPackage rec {
pname = "spark-parser";
version = "1.8.9";
format = "setuptools";
src = fetchPypi {
pname = "spark_parser";
inherit version;
sha256 = "0np2y4jcir4a4j18wws7yzkz2zj6nqhdhn41rpq8pyskg6wrgfx7";
};
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 ];
};
}