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

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

  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 = "PEG-based parser interpreter with memoization (in time)";
    homepage = "https://github.com/avakar/speg";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ xworld21 ];
  };
}