mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
fcitx5-rime: Init at 5.0.2
This commit is contained in:
parent
1da3fbf0eb
commit
ea50300499
47
pkgs/tools/inputmethods/fcitx5/fcitx5-rime.nix
Normal file
47
pkgs/tools/inputmethods/fcitx5/fcitx5-rime.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user