1{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
2
3buildPythonPackage rec {
4 pname = "pdf2image";
5 version = "0.1.14";
6
7 buildInputs = [ pillow poppler_utils ];
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "2926ebbf327e909d594619e520a1986c18d0cf60ae62acc7ebc503ccdef21f0f";
12 };
13
14 meta = with stdenv.lib; {
15 description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object";
16 homepage = https://github.com/Belval/pdf2image;
17 license = licenses.mit;
18 maintainers = with maintainers; [ gerschtli ];
19 platforms = platforms.all;
20 };
21}