2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-07-27 06:49:29 +00:00
|
|
|
unittestCheckHook,
|
2024-06-05 15:53:02 +00:00
|
|
|
click,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "spark-parser";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.8.9";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "spark_parser";
|
|
|
|
inherit version;
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0np2y4jcir4a4j18wws7yzkz2zj6nqhdhn41rpq8pyskg6wrgfx7";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click ];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
unittestFlagsArray = [
|
|
|
|
"-s"
|
|
|
|
"test"
|
|
|
|
"-v"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Early-Algorithm Context-free grammar Parser";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "spark-parser-coverage";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/rocky/python-spark";
|
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|