nixpkgs/pkgs/development/python-modules/pdf2image/default.nix
2019-02-17 14:40:31 +01:00

21 lines
625 B
Nix

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