Merge pull request #265085 from eclairevoyant/bamboo

fcitx5-bamboo: init at 1.0.4
This commit is contained in:
Peder Bergebakken Sundt 2023-12-04 23:54:06 +01:00 committed by GitHub
commit 049a83fa3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, gettext
, go
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fcitx5-bamboo";
version = "1.0.4";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-bamboo";
rev = finalAttrs.version;
hash = "sha256-EcpuZN2JU6HSuiQgBPBsoYftdHypiyFlrUxDBlVW6eo=";
fetchSubmodules = true;
};
strictDeps = true;
nativeBuildInputs = [
cmake
gettext
go
];
buildInputs = [
fcitx5
extra-cmake-modules
];
preConfigure = ''
export GOCACHE=$TMPDIR/go-cache
'';
meta = {
description = "Vietnamese input method engine support for Fcitx";
homepage = "https://github.com/fcitx/fcitx5-bamboo";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ eclairevoyant ];
platforms = lib.platforms.linux;
};
})

View File

@ -8107,6 +8107,8 @@ with pkgs;
fcitx5-with-addons = libsForQt5.callPackage ../tools/inputmethods/fcitx5/with-addons.nix { };
fcitx5-bamboo = callPackage ../tools/inputmethods/fcitx5/fcitx5-bamboo.nix { };
fcitx5-chinese-addons = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
fcitx5-mozc = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-mozc.nix {