nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 mkDerivation,
5 cmake,
6 extra-cmake-modules,
7 qtbase,
8 kcoreaddons,
9 kdecoration,
10}:
11
12mkDerivation rec {
13 pname = "kde2-decoration";
14 version = "1.1";
15
16 src = fetchFromGitHub {
17 owner = "repos-holder";
18 repo = "kdecoration2-kde2";
19 rev = version;
20 sha256 = "y2q1j36EURJc7k1huqhEH1Z82PnVSKlfx20bpQWY28c=";
21 };
22
23 outputs = [
24 "out"
25 "dev"
26 ];
27
28 nativeBuildInputs = [
29 cmake
30 extra-cmake-modules
31 ];
32
33 buildInputs = [
34 qtbase
35 kcoreaddons
36 kdecoration
37 ];
38
39 meta = with lib; {
40 description = "KDE 2 window decoration ported to Plasma 5";
41 homepage = "https://github.com/repos-holder/kdecoration2-kde2";
42 license = licenses.bsd2;
43 platforms = platforms.linux;
44 maintainers = [ ];
45 };
46}