21 lines
618 B
Nix
21 lines
618 B
Nix
{ lib, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdf2image";
|
|
version = "1.15.1";
|
|
|
|
propagatedBuildInputs = [ pillow poppler_utils ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "aa6013c1b5b25ceb90caa34834f1ed343e969cfa532100e1472cfe0e96a639b5";
|
|
};
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|