fcitx5-toki-pona: use fork w/ icons

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

View File

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