Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 21 lines 618 B view raw
1{ lib, buildPythonPackage, fetchPypi, pillow, poppler_utils }: 2 3buildPythonPackage rec { 4 pname = "pdf2image"; 5 version = "1.14.0"; 6 7 propagatedBuildInputs = [ pillow poppler_utils ]; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "066527e1bf954762fb4369c677ae3bc15f2ce8707eee830cccef8471fde736d7"; 12 }; 13 14 meta = with 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}