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

buildPythonPackage rec {
  version = "0.8.1";
  pname = "parsimonious";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b";
  };

  checkInputs = [ nose ];
  propagatedBuildInputs = [ six ];

  # performance tests tend to fail sometimes
  NOSE_EXCLUDE = "test_benchmarks";

  meta = with lib; {
    homepage = "https://github.com/erikrose/parsimonious";
    description = "Fast arbitrary-lookahead parser written in pure Python";
    license = licenses.mit;
  };

}