mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
plasma-applet-caffeine-plus: init at 1.4
This commit is contained in:
parent
d0cbae392c
commit
c5af3991c1
32
pkgs/desktops/plasma-5/addons/caffeine-plus.nix
Normal file
32
pkgs/desktops/plasma-5/addons/caffeine-plus.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub, extra-cmake-modules
|
||||
, kwindowsystem, plasma-framework }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "plasma-applet-caffeine-plus";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qunxyz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/Nz0kSDGok7GjqSQtjH/8q/u6blVTFPO6kfjEyt/jEo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kwindowsystem plasma-framework
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-Wno-dev"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Disable screensaver and auto suspend";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
}
|
@ -25199,6 +25199,8 @@ in
|
||||
plasma-workspace-wallpapers polkit-kde-agent powerdevil sddm-kcm
|
||||
systemsettings user-manager xdg-desktop-portal-kde;
|
||||
|
||||
plasma-applet-caffeine-plus = libsForQt5.callPackage ../desktops/plasma-5/addons/caffeine-plus.nix { };
|
||||
|
||||
kwin-tiling = libsForQt5.callPackage ../desktops/plasma-5/kwin/scripts/tiling.nix { };
|
||||
|
||||
krohnkite = libsForQt5.callPackage ../desktops/plasma-5/kwin/scripts/krohnkite.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user