2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 17:14:21 +00:00
|
|
|
, buildPythonPackage
|
2018-12-05 17:05:17 +00:00
|
|
|
, fetchPypi
|
2018-10-29 17:14:21 +00:00
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-12-05 17:05:17 +00:00
|
|
|
version = "0.8.1";
|
2018-10-29 17:14:21 +00:00
|
|
|
pname = "parsimonious";
|
|
|
|
|
2018-12-05 17:05:17 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b";
|
2018-10-29 17:14:21 +00:00
|
|
|
};
|
|
|
|
|
2018-12-05 17:05:17 +00:00
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ six ];
|
2018-10-29 17:14:21 +00:00
|
|
|
|
2020-12-11 20:19:35 +00:00
|
|
|
# performance tests tend to fail sometimes
|
|
|
|
NOSE_EXCLUDE = "test_benchmarks";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 17:14:21 +00:00
|
|
|
homepage = "https://github.com/erikrose/parsimonious";
|
|
|
|
description = "Fast arbitrary-lookahead parser written in pure Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|