depot/third_party/nixpkgs/pkgs/applications/office/pympress/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

48 lines
906 B
Nix

{ lib
, python3Packages
, wrapGAppsHook
, xvfb_run
, gtk3
, gobject-introspection
, libcanberra-gtk3
, dbus
, poppler_gi
, python3
}:
python3Packages.buildPythonApplication rec {
pname = "pympress";
version = "1.5.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "173d9scf2z29qg279jf33zcl7sgc3wp662fgpm943bn9667q18wf";
};
nativeBuildInputs = [
wrapGAppsHook
];
buildInputs = [
gtk3
gobject-introspection
libcanberra-gtk3
poppler_gi
];
propagatedBuildInputs = with python3Packages; [
pycairo
pygobject3
python-vlc
watchdog
];
doCheck = false; # there are no tests
meta = with lib; {
description = "Simple yet powerful PDF reader designed for dual-screen presentations";
license = licenses.gpl2Plus;
homepage = "https://cimbali.github.io/pympress/";
maintainers = [ maintainers.tbenst ];
};
}