summary refs log tree commit diff
path: root/pkgs/misc/themes/kde2/default.nix
blob: fac8c38eecaee241210e4896cc536ae89a5f498b (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
{ stdenv, fetchFromGitHub, mkDerivation
, cmake, extra-cmake-modules
, qtbase, kcoreaddons, kdecoration }:

let
  version = "2017-03-15";
in mkDerivation rec {
  pname = "kde2-decoration";
  inherit version;

  src = fetchFromGitHub {
    owner = "repos-holder";
    repo = "kdecoration2-kde2";
    rev = "2a9cf18ac0646b3532d4db2dd28bd73c4c229783";
    sha256 = "0kilw6sd3blvm6gx9w4w5ivkjfxlv6wnyivw46pwwvhgxqymkbxk";
  };

  enableParallelBuilding = true;

  nativeBuildInputs = [ cmake extra-cmake-modules ];

  buildInputs = [ qtbase kcoreaddons kdecoration ];

  meta = with stdenv.lib; {
    description = "KDE 2 window decoration ported to Plasma 5";
    homepage = src.meta.homepage;
    license = licenses.bsd2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ gnidorah ];
  };
}