Merge pull request #183936 from NickCao/material-kwin-decoration

material-kwin-decoration: unstable-2021-10-28 -> unstable-2022-01-19,…
This commit is contained in:
Bobby Rong 2022-08-16 23:19:58 +08:00 committed by GitHub
commit 7d43d44534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,24 +12,20 @@
, kwindowsystem , kwindowsystem
, kiconthemes , kiconthemes
, kwayland , kwayland
, unstableGitUpdater
}: }:
mkDerivation rec { mkDerivation rec {
pname = "material-kwin-decoration"; pname = "material-kwin-decoration";
version = "unstable-2021-10-28"; version = "unstable-2022-01-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Zren"; owner = "Zren";
repo = "material-decoration"; repo = "material-decoration";
rev = "cc5cc399a546b66907629b28c339693423c894c8"; rev = "973949761f609f9c676c5b2b7c6d9560661d34c3";
sha256 = "sha256-aYlnPFhf+ISVe5Ycryu5BSXY8Lb5OoueMqnWQZiv6Lc="; sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M=";
}; };
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "-Werror" ""
'';
nativeBuildInputs = [ cmake extra-cmake-modules ]; nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ buildInputs = [
@ -44,10 +40,14 @@ mkDerivation rec {
kwayland kwayland
]; ];
passthru = {
updateScript = unstableGitUpdater { };
};
meta = with lib; { meta = with lib; {
description = "Material-ish window decoration theme for KWin"; description = "Material-ish window decoration theme for KWin";
homepage = "https://github.com/Zren/material-decoration"; homepage = "https://github.com/Zren/material-decoration";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.nickcao ]; maintainers = with maintainers; [ nickcao ];
}; };
} }