@@ -8286,6 +8286,37 @@ in modules // {
82868286 inherit pythonOlder;
82878287 };
82888288
8289+ pypoppler = buildPythonPackage rec {
8290+ name = "pypoppler-${version}";
8291+ version = "0.12.2";
8292+
8293+ src = pkgs.fetchurl {
8294+ url = "mirror://pypi/p/pypoppler/${name}.tar.gz";
8295+ sha256 = "47e6ac99e5b114b9abf2d1dd1bca06f22c028d025432512989f659142470810f";
8296+ };
8297+
8298+ NIX_CFLAGS_COMPILE="-I${pkgs.poppler.dev}/include/poppler/";
8299+ buildInputs = [ pkgs.pkgconfig pkgs.poppler.dev ];
8300+ propagatedBuildInputs = with self; [ pycairo pygobject2 ];
8301+
8302+ patches = [
8303+ ../development/python-modules/pypoppler-0.39.0.patch
8304+ ../development/python-modules/pypoppler-poppler.c.patch
8305+ ];
8306+
8307+ # Not supported.
8308+ disabled = isPy3k;
8309+
8310+ # No tests in archive
8311+ doCheck = false;
8312+
8313+ meta = {
8314+ homepage = https://code.launchpad.net/~mriedesel/poppler-python/main;
8315+ description = "Python bindings for poppler-glib, unofficial branch including bug fixes, and removal of gtk dependencies";
8316+ license = licenses.gpl2;
8317+ };
8318+ };
8319+
82898320 python-axolotl = buildPythonPackage rec {
82908321 name = "python-axolotl-${version}";
82918322 version = "0.1.7";