2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
2018-06-11 18:01:01 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pdf2image";
|
2021-08-19 15:42:53 +00:00
|
|
|
version = "1.16.0";
|
2018-06-11 18:01:01 +00:00
|
|
|
|
2018-12-27 02:31:42 +00:00
|
|
|
propagatedBuildInputs = [ pillow poppler_utils ];
|
2018-06-11 18:01:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-19 15:42:53 +00:00
|
|
|
sha256 = "d58ed94d978a70c73c2bb7fdf8acbaf2a7089c29ff8141be5f45433c0c4293bb";
|
2018-06-11 18:01:01 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-11 18:01:01 +00:00
|
|
|
description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Belval/pdf2image";
|
2018-06-11 18:01:01 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|