about summary refs log tree commit diff
path: root/pkgs/development/python-modules/spark-parser/default.nix
blob: f82b7df763426b5e2436820168158fafee068c56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  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 ];
  };
}