ibus-libpinyin: init at 1.7.4

This commit is contained in:
Silvio Frischknecht 2016-03-26 18:12:16 +01:00
parent a592c9c781
commit 623f185ade
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, intltool, pkgconfig, sqlite, libpinyin, db
, ibus, glib, gtk3, python3, pygobject3
}:
stdenv.mkDerivation rec {
name = "ibus-libpinyin-${version}";
version = "1.7.4";
meta = with stdenv.lib; {
isIbusEngine = true;
description = "IBus interface to the libpinyin input method";
homepage = https://github.com/libpinyin/ibus-libpinyin;
license = licenses.gpl2;
platforms = platforms.linux;
};
#configureFlags = "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t";
buildInputs = [
ibus glib sqlite libpinyin python3 gtk3 db
];
nativeBuildInputs = [ intltool pkgconfig ];
src = fetchurl {
url = "mirror://sourceforge/project/libpinyin/ibus-libpinyin/ibus-libpinyin-${version}.tar.gz";
sha256 = "c2085992f76ca669ebe4b7e7c0170433bbfb61f764f8336b3b17490b9fb1c334";
};
}

View file

@ -1032,6 +1032,8 @@ in
libpinyin = callPackage ../tools/inputmethods/libpinyin { };
ibus-libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin { };
m17n_db = callPackage ../tools/inputmethods/m17n-db { };
m17n_lib = callPackage ../tools/inputmethods/m17n-lib { };
@ -1053,6 +1055,10 @@ in
inherit (python3Packages) pygobject3;
};
libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin {
inherit (python3Packages) pygobject3;
};
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n {
inherit (python3Packages) pygobject3;
};