summary refs log tree commit diff
path: root/pkgs/data/themes/kde2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/data/themes/kde2/default.nix')
-rw-r--r--pkgs/data/themes/kde2/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/data/themes/kde2/default.nix b/pkgs/data/themes/kde2/default.nix
new file mode 100644
index 00000000000..547e4f30aa6
--- /dev/null
+++ b/pkgs/data/themes/kde2/default.nix
@@ -0,0 +1,30 @@
+{ lib, fetchFromGitHub, mkDerivation
+, cmake, extra-cmake-modules
+, qtbase, kcoreaddons, kdecoration
+}:
+
+mkDerivation rec {
+  pname = "kde2-decoration";
+  version = "1.0";
+
+  src = fetchFromGitHub {
+    owner = "repos-holder";
+    repo = "kdecoration2-kde2";
+    rev = version;
+    sha256 = "1766z9wscybcqvr828xih93b3rab3hb0ghsf818iflhp1xy0js08";
+  };
+
+  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 ];
+  };
+}