From 51583cc66ca3962e34658a73617a2e3b3966876e Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 30 Jul 2022 16:35:35 +0800 Subject: [PATCH] material-kwin-decoration: unstable-2021-10-28 -> unstable-2022-01-19, add update script --- .../material-kwin-decoration/default.nix | 18 +++++++++--------- 1 file 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 3716fb79368f..463f86111ee9 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 ]; }; }