summary refs log tree commit diff
path: root/pkgs/development/python-modules/arpeggio/default.nix
blob: 5ad433413ce77d7122e20f733e0662ad6249eb59 (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
{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, pytest-runner
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "Arpeggio";
  version = "1.10.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "bfe349f252f82f82d84cb886f1d5081d1a31451e6045275e9f90b65d0daa06f1";
  };

  # Shall not be needed for next release
  LC_ALL = "en_US.UTF-8";
  buildInputs = [ glibcLocales ];

  nativeBuildInputs = [ pytest-runner ];

  checkInputs = [ pytestCheckHook ];

  disabledTests = [ "test_examples" "test_issue_22" ];

  dontUseSetuptoolsCheck = true;

  meta = {
    description = "Packrat parser interpreter";
    license = lib.licenses.mit;
  };
}