diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-10-30 15:09:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 15:09:15 +0100 |
commit | 946ef1723b60ad2c53c44e3c4e2ce1634e697e03 (patch) | |
tree | 8a6700071444b94ed0bf01040fc107f0f9c45e56 /pkgs/applications/office | |
parent | df3b011c42b820ae6aae6c7f568dab32e654daa2 (diff) | |
parent | 6b9a6f29b7b3e050a1e4bac50b42f61b94f991f6 (diff) |
Merge pull request #62137 from tbenst/pympress
pympress: init at 1.2.0
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/pympress/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/office/pympress/default.nix b/pkgs/applications/office/pympress/default.nix new file mode 100644 index 0000000000000..5cb20e4d6138b --- /dev/null +++ b/pkgs/applications/office/pympress/default.nix @@ -0,0 +1,48 @@ +{ lib +, python3Packages +, wrapGAppsHook +, xvfb_run +, gtk3 +, gobject-introspection +, libcanberra-gtk3 +, dbus +, poppler_gi +, python3 + }: + +python3Packages.buildPythonApplication rec { + pname = "pympress"; + version = "1.4.0"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "101wj6m931bj0ah6niw79i8ywb5zlb2783g7n7dmkhw6ay3jj4vq"; + }; + + 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://pympress.xyz/"; + maintainers = [ maintainers.tbenst ]; + }; +} |