catppuccin-fcitx5: 0-unstable-2025-03-22 -> 0-unstable-2025-05-16 (#408205)

This commit is contained in:
Aleksana
2025-05-18 23:00:57 +08:00
committed by GitHub
+18 -9
View File
@@ -3,27 +3,36 @@
stdenvNoCC,
fetchFromGitHub,
unstableGitUpdater,
withRoundedCorners ? false,
}:
stdenvNoCC.mkDerivation {
pname = "catppuccin-fcitx5";
version = "0-unstable-2025-03-22";
version = "0-unstable-2025-05-16";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "fcitx5";
rev = "383c27ac46cbb55aa5f58acbd32841c1ed3a78a0";
hash = "sha256-n83f9ge4UhBFlgCPRCXygcVJiDp7st48lAJHTm1ohR4=";
rev = "393845cf3ed0e0000bfe57fe1b9ad75748e2547f";
hash = "sha256-ss0kW+ulvMhxeZKBrjQ7E5Cya+02eJrGsE4OLEkqKks=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fcitx5
cp -r src $out/share/fcitx5/themes
runHook postInstall
'';
installPhase =
''
runHook preInstall
''
+ lib.optionalString withRoundedCorners ''
find src -name theme.conf -exec sed -iE 's/^# (Image=(panel|highlight).svg)/\1/' {} +
''
+ ''
mkdir -p $out/share/fcitx5
cp -r src $out/share/fcitx5/themes
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };