Files
nixpkgs/pkgs/kde/third-party/applet-window-buttons6/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

50 lines
971 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
extra-cmake-modules,
kcmutils,
kcoreaddons,
kdeclarative,
kdecoration,
libplasma,
}:
stdenv.mkDerivation rec {
pname = "applet-window-buttons6";
version = "0.14.0";
src = fetchFromGitHub {
owner = "moodyhunter";
repo = "applet-window-buttons6";
rev = "v${version}";
hash = "sha256-HnlgBQKT99vVkl6DWqMkN8Vz+QzzZBGj5tqOJ22VkJ8=";
};
dontWrapQtApps = true;
# kdecoration headers include C++20 spaceship operator
env.NIX_CFLAGS_COMPILE = "-std=c++20";
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
kcmutils
kcoreaddons
kdeclarative
kdecoration
libplasma
];
meta = {
description = "Plasma 6 applet in order to show window buttons in your panels";
homepage = "https://github.com/moodyhunter/applet-window-buttons6";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ A1ca7raz ];
};
}