Merge pull request #14224 from yokto/add/libpinyin
ibus-libpinyin: init at 1.7.4
This commit is contained in:
commit
20095d48de
|
@ -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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, fetchurl, glib, db, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "libpinyin-1.3.0";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Library for intelligent sentence-based Chinese pinyin input method";
|
||||||
|
homepace = https://sourceforge.net/projects/libpinyin;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ glib db pkgconfig ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/project/libpinyin/libpinyin/libpinyin-1.3.0.tar.gz";
|
||||||
|
sha256 = "e105c443b01cd67b9db2a5236435d5441cf514b997b891215fa65f16030cf1f2";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1045,6 +1045,10 @@ in
|
||||||
|
|
||||||
anthy = callPackage ../tools/inputmethods/anthy { };
|
anthy = callPackage ../tools/inputmethods/anthy { };
|
||||||
|
|
||||||
|
libpinyin = callPackage ../tools/inputmethods/libpinyin { };
|
||||||
|
|
||||||
|
ibus-libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin { };
|
||||||
|
|
||||||
m17n_db = callPackage ../tools/inputmethods/m17n-db { };
|
m17n_db = callPackage ../tools/inputmethods/m17n-db { };
|
||||||
|
|
||||||
m17n_lib = callPackage ../tools/inputmethods/m17n-lib { };
|
m17n_lib = callPackage ../tools/inputmethods/m17n-lib { };
|
||||||
|
@ -1066,6 +1070,10 @@ in
|
||||||
inherit (python3Packages) pygobject3;
|
inherit (python3Packages) pygobject3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libpinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-libpinyin {
|
||||||
|
inherit (python3Packages) pygobject3;
|
||||||
|
};
|
||||||
|
|
||||||
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n {
|
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n {
|
||||||
inherit (python3Packages) pygobject3;
|
inherit (python3Packages) pygobject3;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue