summary refs log tree commit diff
path: root/pkgs/data/themes/material-kwin-decoration
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2022-07-30 16:35:35 +0800
committerNick Cao <nickcao@nichi.co>2022-07-30 16:35:35 +0800
commit51583cc66ca3962e34658a73617a2e3b3966876e (patch)
tree5276c6f9c3ff44d811be0ec83252a0df6ad88651 /pkgs/data/themes/material-kwin-decoration
parent3f50785567b4d1cdc4b2ae452a1a4ea4fe6aa652 (diff)
downloadnixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar.gz
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar.bz2
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar.lz
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar.xz
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.tar.zst
nixpkgs-51583cc66ca3962e34658a73617a2e3b3966876e.zip
material-kwin-decoration: unstable-2021-10-28 -> unstable-2022-01-19, add update script
Diffstat (limited to 'pkgs/data/themes/material-kwin-decoration')
-rw-r--r--pkgs/data/themes/material-kwin-decoration/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/data/themes/material-kwin-decoration/default.nix b/pkgs/data/themes/material-kwin-decoration/default.nix
index 3716fb79368..463f86111ee 100644
--- a/pkgs/data/themes/material-kwin-decoration/default.nix
+++ b/pkgs/data/themes/material-kwin-decoration/default.nix
@@ -12,24 +12,20 @@
 , kwindowsystem
 , kiconthemes
 , kwayland
+, unstableGitUpdater
 }:
 
 mkDerivation rec {
   pname = "material-kwin-decoration";
-  version = "unstable-2021-10-28";
+  version = "unstable-2022-01-19";
 
   src = fetchFromGitHub {
     owner = "Zren";
     repo = "material-decoration";
-    rev = "cc5cc399a546b66907629b28c339693423c894c8";
-    sha256 = "sha256-aYlnPFhf+ISVe5Ycryu5BSXY8Lb5OoueMqnWQZiv6Lc=";
+    rev = "973949761f609f9c676c5b2b7c6d9560661d34c3";
+    sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M=";
   };
 
-  postPatch = ''
-    substituteInPlace CMakeLists.txt \
-      --replace "-Werror" ""
-  '';
-
   nativeBuildInputs = [ cmake extra-cmake-modules ];
 
   buildInputs = [
@@ -44,10 +40,14 @@ mkDerivation rec {
     kwayland
   ];
 
+  passthru = {
+    updateScript = unstableGitUpdater { };
+  };
+
   meta = with lib; {
     description = "Material-ish window decoration theme for KWin";
     homepage = "https://github.com/Zren/material-decoration";
     license = licenses.gpl2;
-    maintainers = [ maintainers.nickcao ];
+    maintainers = with maintainers; [ nickcao ];
   };
 }