6 , gobject-introspection
8 , libayatana-appindicator
19 python3Packages.buildPythonApplication rec {
20 pname = "caffeine-ng";
24 src = fetchFromGitea {
25 domain = "codeberg.org";
29 hash = "sha256-uYzLRZ+6ZgIwhSuJWRBpLYHgonX7sFXgUZid0V26V0Q=";
32 nativeBuildInputs = [ gobject-introspection meson ninja pkg-config wrapGAppsHook3 ];
35 libayatana-appindicator
39 pythonPath = with python3Packages; [
56 echo "${version}" > version
60 glib-compile-schemas $out/share/glib-2.0/schemas
65 --prefix PATH : ${lib.makeBinPath [ procps xautolock xscreensaver xfce.xfconf xset ]}
67 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
71 mainProgram = "caffeine";
72 maintainers = with maintainers; [ marzipankaiser ];
73 description = "Status bar application to temporarily inhibit screensaver and sleep mode";
74 homepage = "https://codeberg.org/WhyNotHugo/caffeine-ng";
75 changelog = "https://codeberg.org/WhyNotHugo/caffeine-ng/src/tag/v${version}/CHANGELOG.rst";
76 license = licenses.gpl3;
77 platforms = platforms.linux;