mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
30 lines
599 B
Nix
30 lines
599 B
Nix
{ 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;
|
|
};
|
|
|
|
}
|