Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 625 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pillow, poppler_utils }: 2 3buildPythonPackage rec { 4 pname = "pdf2image"; 5 version = "1.4.1"; 6 7 propagatedBuildInputs = [ pillow poppler_utils ]; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "c417149cb5ca52021203943e0eeb95db53580afebe728086e69671add4daeb08"; 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}