diff options
author | Potato Hatsue <1793913507@qq.com> | 2022-01-24 17:23:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 23:23:11 +0100 |
commit | 048d5eeabdce817afcda5580bc92c64a28af2278 (patch) | |
tree | 96c1afd9be4ccdb9df7c8d1b4fbdfcdd735dea12 /pkgs | |
parent | a3636bc91b090a362116e8ff8d801cd9fcb7abbd (diff) | |
download | nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.gz nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.bz2 nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.lz nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.xz nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.tar.zst nixpkgs-048d5eeabdce817afcda5580bc92c64a28af2278.zip |
fcitx5-unikey: init at 5.0.7 (#154699)
* fcitx5-unikey: init at 5.0.7 Co-authored-by: Ivv <41924494+IvarWithoutBones@users.noreply.github.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix | 27 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix new file mode 100644 index 00000000000..05b1deeed9f --- /dev/null +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, cmake, extra-cmake-modules, fcitx5, fcitx5-qt +, ninja, gettext, wrapQtAppsHook +}: + +stdenv.mkDerivation rec { + pname = "fcitx5-unikey"; + version = "5.0.7"; + + src = fetchFromGitHub { + owner = "fcitx"; + repo = "fcitx5-unikey"; + rev = version; + sha256 = "BFIqMmjIC29Z4rATZEf+qQWrULU9Wkuk6WOUXDEPO10="; + }; + + nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ]; + + buildInputs = [ fcitx5 fcitx5-qt ninja gettext ]; + + meta = with lib; { + description = "Unikey engine support for Fcitx5"; + homepage = "https://github.com/fcitx/fcitx5-unikey"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ berberman ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d3bf1f62298..b66f4e33080 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5228,6 +5228,8 @@ with pkgs; }; }; + fcitx5-unikey = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-unikey.nix { }; + fcitx5-configtool = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { }; fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { }; |