depot/third_party/nixpkgs/pkgs/development/python-modules/pdf2image/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

21 lines
628 B
Nix

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