mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
22 lines
616 B
Nix
22 lines
616 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdf2image";
|
|
version = "1.13.1";
|
|
|
|
propagatedBuildInputs = [ pillow poppler_utils ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1l3jic687vnji952f4dp66jwiprpxskja9v4ffw3bpr6gxgq4syz";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|