depot/third_party/nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-unikey.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

34 lines
731 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, fcitx5-qt
, gettext
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "fcitx5-unikey";
version = "5.0.11";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-unikey";
rev = version;
sha256 = "sha256-pFFxTk97m/ThSrJglY+tSjjKCzXbj2EukdPg8fckoDU=";
};
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;
};
}