caffeine-ng: init at 3.4.2

This commit is contained in:
Marcial Gaißert 2019-05-08 21:31:56 +02:00 committed by Lassulus
parent 38ec6d9a08
commit c7bcd4277c
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ gdk_pixbuf, glib, gobject-introspection, gtk3, lib, libnotify, pkgs,
pythonPackages, wrapGAppsHook
}:
pythonPackages.buildPythonApplication rec {
pname = "caffeine-ng";
version = "3.4.2";
src = pythonPackages.fetchPypi{
inherit pname version;
sha256="05k8smjlfjcccgmp8qi04l7106k46fs4p8fl5bdqqjwv6pwl7y4w";
};
nativeBuildInputs = [ wrapGAppsHook glib ];
buildInputs = [ gdk_pixbuf gobject-introspection libnotify gtk3 ];
pythonPath = with pythonPackages; [
dbus-python docopt ewmh pygobject3 pyxdg
setproctitle setuptools setuptools_scm wheel
];
postBuild = ''
mkdir -p $out/share
cp -r share $out/
glib-compile-schemas --strict $out/share/glib-2.0/schemas
'';
meta = with lib; {
maintainers = with maintainers; [ marzipankaiser ];
description = "Status bar application to temporarily inhibit screensaver and sleep mode";
homepage = "https://github.com/caffeine-ng/caffeine-ng";
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View file

@ -22768,6 +22768,8 @@ in
opencv3 = opencv3WithoutCuda; # Used only for image loading.
});
caffeine-ng = callPackage ../tools/X11/caffeine-ng {};
cntk = callPackage ../applications/science/math/cntk {
inherit (linuxPackages) nvidia_x11;
opencv3 = opencv3WithoutCuda; # Used only for image loading.