7 , gobject-introspection
10 , withGstreamer ? stdenv.hostPlatform.isLinux
12 , withVLC ? stdenv.hostPlatform.isLinux
15 python3Packages.buildPythonApplication rec {
22 hash = "sha256-Kb05EV0F8lTamTq7pC1UoOkYf04s58NjMksVE2xTC/Y=";
33 ] ++ lib.optionals withGstreamer [
36 gst_all_1.gst-plugins-base
37 gst_all_1.gst-plugins-bad
38 gst_all_1.gst-plugins-ugly
39 (gst_all_1.gst-plugins-good.override {gtkSupport = true;})
44 propagatedBuildInputs = with python3Packages; [
49 ] ++ lib.optional withVLC python-vlc;
51 doCheck = false; # there are no tests
54 description = "Simple yet powerful PDF reader designed for dual-screen presentations";
55 mainProgram = "pympress";
56 license = licenses.gpl2Plus;
57 homepage = "https://cimbali.github.io/pympress/";
58 maintainers = [ maintainers.tbenst ];