ibus-kkc: init at 1.5.22

This commit is contained in:
Ivan Solyankin 2018-01-30 14:51:55 +03:00 committed by Nikolay Amiantov
parent 80df6205ed
commit 504b911858
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv, fetchurl
, vala, intltool, pkgconfig
, libkkc, ibus, skk-dicts
, gtk3
}:
stdenv.mkDerivation rec {
pname = "ibus-kkc";
version = "1.5.22";
name = "${pname}-${version}";
src = fetchurl {
url = "${meta.homepage}/releases/download/v${version}/${name}.tar.gz";
sha256 = "1kj74c9zy9yxkjx7pz96mzqc13cf10yfmlgprr8sfd4ay192bzi2";
};
nativeBuildInputs = [
vala intltool pkgconfig
];
buildInputs = [ libkkc ibus skk-dicts gtk3 ];
postInstall = ''
ln -s ${skk-dicts}/share $out/share/skk
'';
meta = with stdenv.lib; {
isIbusEngine = true;
description = "libkkc (Japanese Kana Kanji input method) engine for ibus";
homepage = https://github.com/ueno/ibus-kkc;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ vanzef ];
};
}

View file

@ -1676,6 +1676,8 @@ with pkgs;
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };
libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin { };
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n { };