about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/speg/default.nix
blob: 5c969f55b1681112864e018157081ed36b3fa5fc (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
{ lib
, buildPythonPackage
, fetchPypi
, speg
}:

buildPythonPackage rec {
  pname = "speg";
  version = "0.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-EMvvR+Fo38YvFNtXXPHEKAN6K4gc7mw8/O2gQ5wkPnE=";
    extension = "zip";
  };

  pythonImportsCheck = [ "speg" ];

  # checks fail for seemingly spurious reasons
  doCheck = false;

  meta = with lib; {
    description = "A PEG-based parser interpreter with memoization (in time)";
    homepage = "https://github.com/avakar/speg";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ xworld21 ];
  };
}