material-kwin-decoration: unstable-2021-10-28 -> unstable-2022-01-19, add update script

Nick Cao 51583cc6 3f507855

+9 -9
+9 -9
pkgs/data/themes/material-kwin-decoration/default.nix
··· 12 12 , kwindowsystem 13 13 , kiconthemes 14 14 , kwayland 15 + , unstableGitUpdater 15 16 }: 16 17 17 18 mkDerivation rec { 18 19 pname = "material-kwin-decoration"; 19 - version = "unstable-2021-10-28"; 20 + version = "unstable-2022-01-19"; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "Zren"; 23 24 repo = "material-decoration"; 24 - rev = "cc5cc399a546b66907629b28c339693423c894c8"; 25 - sha256 = "sha256-aYlnPFhf+ISVe5Ycryu5BSXY8Lb5OoueMqnWQZiv6Lc="; 25 + rev = "973949761f609f9c676c5b2b7c6d9560661d34c3"; 26 + sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M="; 26 27 }; 27 28 28 - postPatch = '' 29 - substituteInPlace CMakeLists.txt \ 30 - --replace "-Werror" "" 31 - ''; 32 - 33 29 nativeBuildInputs = [ cmake extra-cmake-modules ]; 34 30 35 31 buildInputs = [ ··· 44 40 kwayland 45 41 ]; 46 42 43 + passthru = { 44 + updateScript = unstableGitUpdater { }; 45 + }; 46 + 47 47 meta = with lib; { 48 48 description = "Material-ish window decoration theme for KWin"; 49 49 homepage = "https://github.com/Zren/material-decoration"; 50 50 license = licenses.gpl2; 51 - maintainers = [ maintainers.nickcao ]; 51 + maintainers = with maintainers; [ nickcao ]; 52 52 }; 53 53 }