2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
2018-06-11 19:01:01 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdf2image";
|
2020-09-30 12:44:34 +01:00
|
|
|
version = "1.14.0";
|
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;
|
2020-09-30 12:44:34 +01:00
|
|
|
sha256 = "066527e1bf954762fb4369c677ae3bc15f2ce8707eee830cccef8471fde736d7";
|
2018-06-11 19:01:01 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-11 19:01:01 +01:00
|
|
|
description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Belval/pdf2image";
|
2018-06-11 19:01:01 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|