2018-06-11 19:01:01 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdf2image";
|
2018-12-27 02:31:42 +00:00
|
|
|
version = "1.3.1";
|
2018-06-11 19:01:01 +01:00
|
|
|
|
2018-12-27 02:31:42 +00:00
|
|
|
propagatedBuildInputs = [ pillow poppler_utils ];
|
2018-06-11 19:01:01 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-27 02:31:42 +00:00
|
|
|
sha256 = "0igkzl12582iq6bh6dycw9bcz2459rs6gybq9mranj54yfgjl2ky";
|
2018-06-11 19:01:01 +01: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;
|
|
|
|
};
|
|
|
|
}
|