depot/third_party/nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-bamboo.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
864 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, gettext
, go
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fcitx5-bamboo";
version = "1.0.6";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-bamboo";
rev = finalAttrs.version;
hash = "sha256-lWWSk5HxWFJKoE3Rf2s4sYhTSLKDnmPCzYGR/NscqFY=";
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;
};
})