9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
17 inherit pname version;
18 hash = "sha256-dCCIEMLO9NnjR3abjmKlIwOYLdtPLf10THq0uUCuKH4=";
22 # Only replace first match in file
23 sed -i '0,/poppler_path=None/s||poppler_path="${poppler_utils}/bin"|' pdf2image/pdf2image.py
26 propagatedBuildInputs = [
30 pythonImportsCheck = [
35 description = "Module that wraps the pdftoppm utility to convert PDF to PIL Image object";
36 homepage = "https://github.com/Belval/pdf2image";
37 changelog = "https://github.com/Belval/pdf2image/releases/tag/v${version}";
38 license = licenses.mit;
39 maintainers = with maintainers; [ gerschtli ];
40 platforms = platforms.all;