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