nixpkgs-suyu/pkgs/development/python-modules/pdf2image/default.nix
2021-06-22 13:42:35 +02:00

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;
};
}