{ lib, stdenv, fetchFromGitHub, cmake, kdePackages, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "plasma-panel-colorizer"; version = "4.3.2"; src = fetchFromGitHub { owner = "luisbocanegra"; repo = "plasma-panel-colorizer"; tag = "v${finalAttrs.version}"; hash = "sha256-gaNKIfICAX7FsCq26SPj416K1PIGAWbx+9RFrTiWOVA="; }; nativeBuildInputs = [ cmake kdePackages.extra-cmake-modules ]; buildInputs = [ kdePackages.plasma-desktop ]; strictDeps = true; cmakeFlags = [ (lib.cmakeBool "INSTALL_PLASMOID" true) (lib.cmakeBool "BUILD_PLUGIN" true) (lib.cmakeFeature "Qt6_DIR" "${kdePackages.qtbase}/lib/cmake/Qt6") ]; dontWrapQtApps = true; passthru.updateScript = nix-update-script { }; meta = { description = "Fully-featured widget to bring Latte-Dock and WM status bar customization features to the default KDE Plasma panel"; homepage = "https://github.com/luisbocanegra/plasma-panel-colorizer"; changelog = "https://github.com/luisbocanegra/plasma-panel-colorizer/blob/main/CHANGELOG.md"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ HeitorAugustoLN ]; inherit (kdePackages.kwindowsystem.meta) platforms; }; })