2018-06-11 20:01:01 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdf2image";
|
2019-04-16 19:15:38 +02:00
|
|
|
version = "1.4.2";
|
2018-06-11 20:01:01 +02:00
|
|
|
|
2018-12-27 03:31:42 +01:00
|
|
|
propagatedBuildInputs = [ pillow poppler_utils ];
|
2018-06-11 20:01:01 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 19:15:38 +02:00
|
|
|
sha256 = "694f8014f4c3722e5913f1c378c7056b1330db070ff7cb8196a80d24b80fa61e";
|
2018-06-11 20:01:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object";
|
|
|
|
homepage = https://github.com/Belval/pdf2image;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|