Merge pull request #89176 from SuperBo/add-ibus-bamboo

ibus-bamboo: init at 0.6.6
This commit is contained in:
WORLDofPEACE 2020-09-07 21:31:28 -04:00 committed by GitHub
commit 8f2a673722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 63 additions and 0 deletions

View File

@ -8035,6 +8035,12 @@
githubId = 65870; githubId = 65870;
name = "Сухарик"; name = "Сухарик";
}; };
superbo = {
email = "supernbo@gmail.com";
github = "SuperBo";
githubId = 2666479;
name = "Y Nguyen";
};
SuperSandro2000 = { SuperSandro2000 = {
email = "sandro.jaeckel@gmail.com"; email = "sandro.jaeckel@gmail.com";
github = "SuperSandro2000"; github = "SuperSandro2000";

View File

@ -0,0 +1,55 @@
{ stdenv
, fetchFromGitHub
, gettext
, xorg
, pkgconfig
, wrapGAppsHook
, ibus
, gtk3
, go
}:
stdenv.mkDerivation rec {
pname = "ibus-bamboo";
version = "0.6.6";
src = fetchFromGitHub {
owner = "BambooEngine";
repo = pname;
rev = "v${version}";
sha256 = "0bjcc2dm6c6s0v271nyslmwf5z0xxpcbvmk4lyirs48hc1bzv3n6";
};
nativeBuildInputs = [
gettext
pkgconfig
wrapGAppsHook
go
];
buildInputs = [
xorg.libX11
xorg.xorgproto
xorg.libXtst
xorg.libXi
];
preConfigure = ''
export GOCACHE="$TMPDIR/go-cache"
sed -i "s,/usr,$out," bamboo.xml
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with stdenv.lib; {
isIbusEngine = true;
description = "A Vietnamese IME for IBus";
homepage = "https://github.com/BambooEngine/ibus-bamboo";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ superbo ];
};
}

View File

@ -2806,6 +2806,8 @@ in
ibus-engines = recurseIntoAttrs { ibus-engines = recurseIntoAttrs {
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { }; anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo { };
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { }; hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { }; kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };