15 buildPythonPackage rec {
16 pname = "python-poppler-qt5";
22 inherit pname version;
23 sha256 = "sha256-tHfohB8OoOCf2rby8wXPON+XfZ4ULlaTo3RgXXXdb+A=";
27 buildInputs = [ qtbase.dev poppler pyqt-builder ];
28 nativeBuildInputs = [ pkg-config qmake sip setuptools ];
29 propagatedBuildInputs = [ pyqt5.dev ];
35 cat <<EOF >> pyproject.toml
36 [tool.sip.bindings.Poppler-Qt5]
37 include-dirs = ["${poppler.dev}/include/poppler"]
41 # no tests, just bindings for `poppler_qt5`
43 pythonImportsCheck = [ "popplerqt5" ];
45 dontWrapQtApps = true;
48 homepage = "https://github.com/frescobaldi/python-poppler-qt5";
49 license = licenses.lgpl21Plus;
50 maintainers = with maintainers; [ ];