From dfa880f77f7d1bffbd42ecd25ae45c331b61ed73 Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Tue, 2 Jan 2024 18:15:23 +0100 Subject: [PATCH] catppuccin-fcitx5: init at 2022-10-05 --- pkgs/by-name/ca/catppuccin-fcitx5/package.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/ca/catppuccin-fcitx5/package.nix diff --git a/pkgs/by-name/ca/catppuccin-fcitx5/package.nix b/pkgs/by-name/ca/catppuccin-fcitx5/package.nix new file mode 100644 index 000000000000..879b14960b2a --- /dev/null +++ b/pkgs/by-name/ca/catppuccin-fcitx5/package.nix @@ -0,0 +1,31 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "catppuccin-fcitx5"; + version = "0-unstable-2022-10-05"; + + src = fetchFromGitHub { + owner = "catppuccin"; + repo = "fcitx5"; + rev = "ce244cfdf43a648d984719fdfd1d60aab09f5c97"; + hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/fcitx5 + cp -r src $out/share/fcitx5/themes + runHook postInstall + ''; + + meta = { + description = "Soothing pastel theme for Fcitx5"; + homepage = "https://github.com/catppuccin/fcitx5"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ pluiedev ]; + platforms = lib.platforms.all; + }; +}