about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/themes/material-kwin-decoration/default.nix
blob: 463f86111ee956bd47b9cf38498f9409f6f08dd4 (plain) (blame)
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
49
50
51
52
53
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, qtx11extras
, kcoreaddons
, kguiaddons
, kconfig
, kdecoration
, kconfigwidgets
, kwindowsystem
, kiconthemes
, kwayland
, unstableGitUpdater
}:

mkDerivation rec {
  pname = "material-kwin-decoration";
  version = "unstable-2022-01-19";

  src = fetchFromGitHub {
    owner = "Zren";
    repo = "material-decoration";
    rev = "973949761f609f9c676c5b2b7c6d9560661d34c3";
    sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M=";
  };

  nativeBuildInputs = [ cmake extra-cmake-modules ];

  buildInputs = [
    qtx11extras
    kcoreaddons
    kguiaddons
    kdecoration
    kconfig
    kconfigwidgets
    kwindowsystem
    kiconthemes
    kwayland
  ];

  passthru = {
    updateScript = unstableGitUpdater { };
  };

  meta = with lib; {
    description = "Material-ish window decoration theme for KWin";
    homepage = "https://github.com/Zren/material-decoration";
    license = licenses.gpl2;
    maintainers = with maintainers; [ nickcao ];
  };
}