nixpkgs/pkgs/development/python-modules/pdf2image/default.nix
2019-01-05 10:56:50 +01:00

22 lines
613 B
Nix

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