mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
46 lines
878 B
Nix
46 lines
878 B
Nix
{ lib
|
|
, python3Packages
|
|
, wrapGAppsHook
|
|
, gtk3
|
|
, gobject-introspection
|
|
, libcanberra-gtk3
|
|
, poppler_gi
|
|
}:
|
|
|
|
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 ];
|
|
};
|
|
}
|