depot/third_party/nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

34 lines
730 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, fcitx5-qt
, gettext
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "fcitx5-unikey";
version = "5.1.1";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-unikey";
rev = version;
sha256 = "sha256-9t8YYYGTiY+HteoRI1m833ITcbYb/KpHczyUd8lllc8=";
};
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
buildInputs = [ fcitx5 fcitx5-qt 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;
};
}