Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, mkDerivation
2, cmake, extra-cmake-modules
3, qtbase, kcoreaddons, kdecoration
4}:
5
6mkDerivation rec {
7 pname = "kde2-decoration";
8 version = "1.1";
9
10 src = fetchFromGitHub {
11 owner = "repos-holder";
12 repo = "kdecoration2-kde2";
13 rev = version;
14 sha256 = "y2q1j36EURJc7k1huqhEH1Z82PnVSKlfx20bpQWY28c=";
15 };
16
17 outputs = [ "out" "dev" ];
18
19 nativeBuildInputs = [ cmake extra-cmake-modules ];
20
21 buildInputs = [ qtbase kcoreaddons kdecoration ];
22
23 meta = with lib; {
24 description = "KDE 2 window decoration ported to Plasma 5";
25 homepage = "https://github.com/repos-holder/kdecoration2-kde2";
26 license = licenses.bsd2;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ ];
29 };
30}