a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
34 lines
731 B
Nix
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.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fcitx";
|
|
repo = "fcitx5-unikey";
|
|
rev = version;
|
|
sha256 = "sha256-LaCDDwM5idq4JEs5F0ysMZfWIEaRqMBNgIyNf9DhmhY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|