nixpkgs-suyu/pkgs/development/python-modules/pdf2image/default.nix
2018-12-03 16:50:33 +01:00

21 lines
615 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
buildPythonPackage rec {
pname = "pdf2image";
version = "1.0.0";
buildInputs = [ pillow poppler_utils ];
src = fetchPypi {
inherit pname version;
sha256 = "74607efb48a9e95289148d70af05a53dbef192010a44ac868437fb044842697d";
};
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;
};
}