1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, six 6}: 7 8buildPythonPackage rec { 9 version = "0.8.1"; 10 pname = "parsimonious"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "3add338892d580e0cb3b1a39e4a1b427ff9f687858fdd61097053742391a9f6b"; 15 }; 16 17 checkInputs = [ nose ]; 18 propagatedBuildInputs = [ six ]; 19 20 # performance tests tend to fail sometimes 21 NOSE_EXCLUDE = "test_benchmarks"; 22 23 meta = with lib; { 24 homepage = "https://github.com/erikrose/parsimonious"; 25 description = "Fast arbitrary-lookahead parser written in pure Python"; 26 license = licenses.mit; 27 }; 28 29}