nixpkgs-suyu/pkgs/development/python-modules/pdf2image/default.nix
2019-09-22 10:40:51 +02:00

21 lines
613 B
Nix

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