about summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-12-05 02:06:13 +0100
committerGitHub <noreply@github.com>2021-12-05 02:06:13 +0100
commit025aaf5cc8e96d27c734cfb9924a4f68338947b5 (patch)
treeeadcfa98bf9381fde34c5243c6eea77259d161ed /pkgs/data
parente3d9ad539bcd3769d1de532c374c6a9e72b1f918 (diff)
parent6b885cf4008e1518edd505265c0fe09447984a2e (diff)
Merge pull request #147002 from NickCao/material
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/themes/material-kwin-decoration/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/data/themes/material-kwin-decoration/default.nix b/pkgs/data/themes/material-kwin-decoration/default.nix
new file mode 100644
index 0000000000000..f5dccefbc139e
--- /dev/null
+++ b/pkgs/data/themes/material-kwin-decoration/default.nix
@@ -0,0 +1,48 @@
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, cmake
+, extra-cmake-modules
+, qtx11extras
+, kcoreaddons
+, kguiaddons
+, kconfig
+, kdecoration
+, kconfigwidgets
+, kwindowsystem
+, kiconthemes
+, kwayland
+}:
+
+mkDerivation rec {
+  pname = "material-kwin-decoration";
+  version = "unstable-20211028";
+
+  src = fetchFromGitHub {
+    owner = "Zren";
+    repo = "material-decoration";
+    rev = "cc5cc399a546b66907629b28c339693423c894c8";
+    sha256 = "sha256-aYlnPFhf+ISVe5Ycryu5BSXY8Lb5OoueMqnWQZiv6Lc=";
+  };
+
+  nativeBuildInputs = [ cmake extra-cmake-modules ];
+
+  buildInputs = [
+    qtx11extras
+    kcoreaddons
+    kguiaddons
+    kdecoration
+    kconfig
+    kconfigwidgets
+    kwindowsystem
+    kiconthemes
+    kwayland
+  ];
+
+  meta = with lib; {
+    description = "Material-ish window decoration theme for KWin";
+    homepage = "https://github.com/Zren/material-decoration";
+    license = licenses.gpl2;
+    maintainers = [ maintainers.nickcao ];
+  };
+}