fcitx5-rime: Init at 5.0.2

This commit is contained in:
Poscat 2020-12-13 11:16:03 +08:00
parent 1da3fbf0eb
commit ea50300499
No known key found for this signature in database
GPG key ID: 2D2595A00D08ACE0
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ stdenv
, fetchurl
, fetchFromGitHub
, pkgconfig
, cmake
, extra-cmake-modules
, gettext
, fcitx5
, librime
, brise
}:
stdenv.mkDerivation rec {
pname = "fcitx5-rime";
version = "5.0.2";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-rime";
rev = version;
sha256 = "cVCTsD1Iw6OtyYFpxff3ix2CubRTnDaBevAYA4I9Ai8=";
};
cmakeFlags = [
"-DRIME_DATA_DIR=${brise}/share/rime-data"
];
nativeBuildInputs = [
cmake
extra-cmake-modules
pkgconfig
gettext
];
buildInputs = [
fcitx5
librime
];
meta = with stdenv.lib; {
description = "RIME support for Fcitx5";
homepage = "https://github.com/fcitx/fcitx5-rime";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ poscat ];
platforms = platforms.linux;
};
}

View file

@ -3938,6 +3938,8 @@ in
fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { };
fcitx5-rime = callPackage ../tools/inputmethods/fcitx5/fcitx5-rime.nix { };
fcppt = callPackage ../development/libraries/fcppt { };
fcrackzip = callPackage ../tools/security/fcrackzip { };