fcitx5-toki-pona: use fork w/ icons

This commit is contained in:
2026-03-11 17:59:08 -06:00
parent 12a5095325
commit 321fc6304d

View File

@@ -8,12 +8,13 @@
stdenv.mkDerivation {
pname = "fcitx5-toki-pona";
version = "git";
src = fetchFromGitHub {
owner = "plasmaofthedawn";
repo = "fcitx5-toki-pona";
rev = "16038e7f3b9d7435862aa15b792153ae9dd61cef";
hash = "sha256-USYdHNf/lTvnkqPcpjaf2QaTWJNSkuMa7aaPAZQcbFM=";
};
src = /home/msyds/git/fcitx5-toki-pona;
# src = fetchFromGitHub {
# owner = "plasmaofthedawn";
# repo = "fcitx5-toki-pona";
# rev = "16038e7f3b9d7435862aa15b792153ae9dd61cef";
# hash = "sha256-USYdHNf/lTvnkqPcpjaf2QaTWJNSkuMa7aaPAZQcbFM=";
# };
buildInputs = [
kdePackages.fcitx5-chinese-addons
];
@@ -32,6 +33,7 @@ stdenv.mkDerivation {
runHook preInstall
install -Dm644 -t $out/share/fcitx5/table table/*
install -Dm644 -t $out/share/fcitx5/inputmethod confs/*
find icons -name '*.png' -exec install -Dm644 {} "$out/share/{}" \;
runHook postInstall
'';
}