fcitx5-toki-pona: use fork w/ icons
This commit is contained in:
@@ -3,17 +3,20 @@
|
|||||||
, kdePackages
|
, kdePackages
|
||||||
, python3
|
, python3
|
||||||
, libime
|
, libime
|
||||||
|
, lib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "fcitx5-toki-pona";
|
pname = "fcitx5-toki-pona";
|
||||||
version = "git";
|
version = "git";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "plasmaofthedawn";
|
owner = "msyds";
|
||||||
repo = "fcitx5-toki-pona";
|
repo = "fcitx5-toki-pona";
|
||||||
rev = "16038e7f3b9d7435862aa15b792153ae9dd61cef";
|
rev = "4b4314d642c647bc714c8876460b6779facda89c";
|
||||||
hash = "sha256-USYdHNf/lTvnkqPcpjaf2QaTWJNSkuMa7aaPAZQcbFM=";
|
# rev = "icons";
|
||||||
|
hash = "sha256-5Keg+7AYkELYAlJkPszcjHgJ6TwBxnwNd3cpxSOEbGc=";
|
||||||
};
|
};
|
||||||
|
# src = /home/msyds/git/fcitx5-toki-pona;
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
kdePackages.fcitx5-chinese-addons
|
kdePackages.fcitx5-chinese-addons
|
||||||
];
|
];
|
||||||
@@ -32,6 +35,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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user