1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 unittestCheckHook, 6 click, 7}: 8 9buildPythonPackage rec { 10 pname = "spark-parser"; 11 version = "1.9.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 pname = "spark_parser"; 16 inherit version; 17 sha256 = "sha256-3GbUjEJlxBM9tBqcX+nBxQKzsgFn3xWKDyNM0xcSz2Q="; 18 }; 19 20 propagatedBuildInputs = [ click ]; 21 22 nativeCheckInputs = [ unittestCheckHook ]; 23 unittestFlagsArray = [ 24 "-s" 25 "test" 26 "-v" 27 ]; 28 29 meta = with lib; { 30 description = "Early-Algorithm Context-free grammar Parser"; 31 mainProgram = "spark-parser-coverage"; 32 homepage = "https://github.com/rocky/python-spark"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ raskin ]; 35 }; 36}