1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 ply,
6 isPy3k,
7}:
8buildPythonPackage rec {
9 pname = "plyplus";
10 version = "0.7.5";
11
12 src = fetchPypi {
13 pname = "PlyPlus";
14 inherit version;
15 sha256 = "0g3flgfm3jpb2d8v9z0qmbwca5gxdqr10cs3zvlfhv5cs06ahpnp";
16 };
17
18 propagatedBuildInputs = [ ply ];
19
20 doCheck = !isPy3k;
21
22 meta = {
23 homepage = "https://github.com/erezsh/plyplus";
24 description = "A general-purpose parser built on top of PLY";
25 maintainers = with lib.maintainers; [ twey ];
26 license = lib.licenses.mit;
27 };
28}