mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
ibus-bamboo: init at 0.6.6
Add IBus Bamboo engine for Vietnamese
This commit is contained in:
parent
2f5479d747
commit
fdda893a8a
55
pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix
Normal file
55
pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -2806,6 +2806,8 @@ in
|
||||
ibus-engines = recurseIntoAttrs {
|
||||
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
|
||||
|
||||
bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo { };
|
||||
|
||||
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
|
||||
|
||||
kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };
|
||||
|
Loading…
Reference in New Issue
Block a user