fcitx5-with-addons: Init
This commit is contained in:
parent
3dbd3d11e3
commit
1b06ca4b0d
18
pkgs/tools/inputmethods/fcitx5/with-addons.nix
Normal file
18
pkgs/tools/inputmethods/fcitx5/with-addons.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ symlinkJoin, makeWrapper, fcitx5, fcitx5-lua, fcitx5-configtool, fcitx5-qt, fcitx5-gtk, addons ? [] }:
|
||||||
|
|
||||||
|
symlinkJoin {
|
||||||
|
name = "fcitx5-with-addons-${fcitx5.version}";
|
||||||
|
|
||||||
|
paths = [ fcitx5 fcitx5-configtool fcitx5-lua fcitx5-qt fcitx5-gtk ] ++ addons;
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/fcitx5 \
|
||||||
|
--prefix FCITX_ADDON_DIRS : "$out/lib/fcitx5" \
|
||||||
|
--suffix XDG_DATA_DIRS : "$out/share" \
|
||||||
|
--suffix PATH : "$out/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = fcitx5.meta;
|
||||||
|
}
|
@ -3934,6 +3934,8 @@ in
|
|||||||
|
|
||||||
fcitx5 = libsForQt5.callPackage ../tools/inputmethods/fcitx5 { };
|
fcitx5 = libsForQt5.callPackage ../tools/inputmethods/fcitx5 { };
|
||||||
|
|
||||||
|
fcitx5-with-addons = libsForQt5.callPackage ../tools/inputmethods/fcitx5/with-addons.nix { };
|
||||||
|
|
||||||
fcitx5-chinese-addons = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
|
fcitx5-chinese-addons = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
|
||||||
|
|
||||||
fcitx5-configtool = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
|
fcitx5-configtool = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user