1{ stdenv, buildPythonPackage, fetchPypi }:
2buildPythonPackage rec {
3 pname = "pyparsing";
4 name = "${pname}-${version}";
5 version = "2.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "016b9gh606aa44sq92jslm89bg874ia0yyiyb643fa6dgbsbqch8";
10 };
11
12 # Not everything necessary to run the tests is included in the distribution
13 doCheck = false;
14
15 meta = with stdenv.lib; {
16 homepage = http://pyparsing.wikispaces.com/;
17 description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
18 license = licenses.mit;
19 };
20}