Unverified Commit 34e60a49 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents e3fdabd5 b485c52e
Loading
Loading
Loading
Loading
+18 −9
Original line number Diff line number Diff line
@@ -3,25 +3,34 @@
  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 = ''
  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
    '';