depot/third_party/nixpkgs/pkgs/development/python-modules/parsimonious/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

29 lines
609 B
Nix

{ stdenv
, 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 stdenv.lib; {
homepage = "https://github.com/erikrose/parsimonious";
description = "Fast arbitrary-lookahead parser written in pure Python";
license = licenses.mit;
};
}