From 79322f3d0370ca25670d96b5053cde964f081684 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 15 Aug 2023 18:32:24 -0400 Subject: pkgs/klassy: init --- pkgs/default.nix | 1 + pkgs/klassy.nix | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pkgs/klassy.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index b67199b..6a8f12e 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -6,6 +6,7 @@ in { check-pr = callPackage ./check-pr.nix {}; fastfetch = callPackage ./fastfetch.nix {}; huion = callPackage ./huion.nix {}; + klassy = pkgs.libsForQt5.callPackage ./klassy.nix {}; mommy = callPackage ./mommy.nix {}; nixgc = callPackage ./nixgc.nix {}; modrinth-app-unwrapped = callPackage ./modrinth-app { diff --git a/pkgs/klassy.nix b/pkgs/klassy.nix new file mode 100644 index 0000000..b5a5c0f --- /dev/null +++ b/pkgs/klassy.nix @@ -0,0 +1,48 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + ninja, + extra-cmake-modules, + kcmutils, + kdecoration, + kirigami2, + wrapQtAppsHook, +}: +stdenv.mkDerivation rec { + name = "klassy"; + version = "4.3.breeze5.27.5"; + + src = fetchFromGitHub { + owner = "paulmcauley"; + repo = "klassy"; + rev = version; + hash = "sha256-2qs30L7U5kf1Yf+4Pgsjsyaqf9iIaeuRK25Xtn47AYI="; + }; + + buildInputs = [ + kcmutils + kdecoration + kirigami2 + ]; + + nativeBuildInputs = [ + cmake + ninja + extra-cmake-modules + wrapQtAppsHook + ]; + + meta = with lib; { + description = "a highly customizable binary Window Decoration and Application Style plugin"; + longDescription = '' + Klassy is a highly customizable binary Window Decoration and Application + Style plugin for recent versions of the KDE Plasma desktop. It provides + the Klassy, Kite, Oxygen/Breeze, and Redmond icon styles. + ''; + homepage = "https://github.com/paulmcauley/klassy"; + platforms = platforms.linux; + maintainers = with maintainers; [getchoo]; + }; +} -- cgit v1.2.3