summaryrefslogtreecommitdiff
path: root/pkgs/klassy/default.nix
blob: f4c809a688dac436c815847ef6932791a7b603f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  ninja,
  extra-cmake-modules,
  kcmutils,
  kdecoration,
  kirigami2,
  wrapQtAppsHook,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "klassy";
  version = "4.3.breeze5.27.5";

  src = fetchFromGitHub {
    owner = "paulmcauley";
    repo = "klassy";
    rev = finalAttrs.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];
  };
})