2018-06-11 18:01:01 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdf2image";
|
2018-06-21 05:37:17 +00:00
|
|
|
version = "0.1.14";
|
2018-06-11 18:01:01 +00:00
|
|
|
|
|
|
|
buildInputs = [ pillow poppler_utils ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-21 05:37:17 +00:00
|
|
|
sha256 = "2926ebbf327e909d594619e520a1986c18d0cf60ae62acc7ebc503ccdef21f0f";
|
2018-06-11 18:01:01 +00: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;
|
|
|
|
};
|
|
|
|
}
|