aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/data/themes/kde2/default.nix
blob: 7e33d371ebeb7743629524832dcad0f14f09f89c (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
{ lib, fetchFromGitHub, mkDerivation
, cmake, extra-cmake-modules
, qtbase, kcoreaddons, kdecoration
}:

mkDerivation rec {
  pname = "kde2-decoration";
  version = "1.1";

  src = fetchFromGitHub {
    owner = "repos-holder";
    repo = "kdecoration2-kde2";
    rev = version;
    sha256 = "y2q1j36EURJc7k1huqhEH1Z82PnVSKlfx20bpQWY28c=";
  };

  outputs = [ "out" "dev" ];
  enableParallelBuilding = true;

  nativeBuildInputs = [ cmake extra-cmake-modules ];

  buildInputs = [ qtbase kcoreaddons kdecoration ];

  meta = with lib; {
    description = "KDE 2 window decoration ported to Plasma 5";
    homepage = "https://github.com/repos-holder/kdecoration2-kde2";
    license = licenses.bsd2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ gnidorah ];
  };
}