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

ibus-bamboo: init at 0.6.6

authored by

WORLDofPEACE and committed by
GitHub
8f2a6737 0b3cc29f

+63
+6
maintainers/maintainer-list.nix
··· 8035 8035 githubId = 65870; 8036 8036 name = "Сухарик"; 8037 8037 }; 8038 + superbo = { 8039 + email = "supernbo@gmail.com"; 8040 + github = "SuperBo"; 8041 + githubId = 2666479; 8042 + name = "Y Nguyen"; 8043 + }; 8038 8044 SuperSandro2000 = { 8039 8045 email = "sandro.jaeckel@gmail.com"; 8040 8046 github = "SuperSandro2000";
+55
pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , gettext 4 + , xorg 5 + , pkgconfig 6 + , wrapGAppsHook 7 + , ibus 8 + , gtk3 9 + , go 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "ibus-bamboo"; 14 + version = "0.6.6"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "BambooEngine"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "0bjcc2dm6c6s0v271nyslmwf5z0xxpcbvmk4lyirs48hc1bzv3n6"; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + gettext 25 + pkgconfig 26 + wrapGAppsHook 27 + go 28 + ]; 29 + 30 + buildInputs = [ 31 + xorg.libX11 32 + xorg.xorgproto 33 + xorg.libXtst 34 + xorg.libXi 35 + ]; 36 + 37 + preConfigure = '' 38 + export GOCACHE="$TMPDIR/go-cache" 39 + sed -i "s,/usr,$out," bamboo.xml 40 + ''; 41 + 42 + makeFlags = [ 43 + "PREFIX=${placeholder "out"}" 44 + ]; 45 + 46 + 47 + meta = with stdenv.lib; { 48 + isIbusEngine = true; 49 + description = "A Vietnamese IME for IBus"; 50 + homepage = "https://github.com/BambooEngine/ibus-bamboo"; 51 + license = licenses.gpl3; 52 + platforms = platforms.linux; 53 + maintainers = with maintainers; [ superbo ]; 54 + }; 55 + }
+2
pkgs/top-level/all-packages.nix
··· 2806 2806 ibus-engines = recurseIntoAttrs { 2807 2807 anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { }; 2808 2808 2809 + bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo { }; 2810 + 2809 2811 hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { }; 2810 2812 2811 2813 kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };