Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 616 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }: 2 3buildPythonPackage rec { 4 pname = "pdf2image"; 5 version = "1.13.1"; 6 7 propagatedBuildInputs = [ pillow poppler_utils ]; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1l3jic687vnji952f4dp66jwiprpxskja9v4ffw3bpr6gxgq4syz"; 12 }; 13 14 meta = with stdenv.lib; { 15 description = "A python module that wraps the pdftoppm utility to convert PDF to PIL Image object"; 16 homepage = "https://github.com/Belval/pdf2image"; 17 license = licenses.mit; 18 maintainers = with maintainers; [ gerschtli ]; 19 platforms = platforms.all; 20 }; 21}