klassy: init at 6.4.breeze6.4.0 (#318772)

This commit is contained in:
Michael Daniels
2026-01-15 23:07:14 +00:00
committed by GitHub
+75
View File
@@ -0,0 +1,75 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
kdePackages,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "klassy";
version = "6.4.breeze6.4.0";
src = fetchFromGitHub {
owner = "paulmcauley";
repo = "klassy";
tag = finalAttrs.version;
hash = "sha256-+bYS2Upr84BS0IdA0HlCK0FF05yIMVbRvB8jlN5EOUM=";
};
nativeBuildInputs = [
cmake
ninja
kdePackages.extra-cmake-modules
kdePackages.wrapQtAppsHook
];
buildInputs = with kdePackages; [
qtbase
qtdeclarative
qttools
qtsvg
frameworkintegration
kcmutils
kcolorscheme
kconfig
kcoreaddons
kdecoration
kguiaddons
ki18n
kiconthemes
kirigami
kwidgetsaddons
kwindowsystem
];
# Klassy tries to build for both Qt 5 and 6 at the same time by default
# but that is impossible given how Qt setup hooks are currently designed
# in Nixpkgs. Given that KDE Plasma 5 has already been removed as of the
# time of writing, I figure it's fine to only build the Qt 6 version.
cmakeFlags = [
(lib.cmakeBool "BUILD_QT6" true)
(lib.cmakeBool "BUILD_QT5" false)
];
passthru.updateScript = gitUpdater { };
meta = {
description = "Highly customizable binary Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop";
homepage = "https://github.com/paulmcauley/klassy";
platforms = lib.platforms.linux;
license = with lib.licenses; [
bsd3
cc0
gpl2Only
gpl2Plus
gpl3Only
gpl3Plus # KDE-Accepted-GPL
mit
];
maintainers = with lib.maintainers; [ pluiedev ];
mainProgram = "klassy-settings";
};
})