lol
1{ lib
2, stdenv
3, fetchFromGitHub
4, cmake
5, extra-cmake-modules
6, fcitx5
7, gettext
8, go
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "fcitx5-bamboo";
13 version = "1.0.5";
14
15 src = fetchFromGitHub {
16 owner = "fcitx";
17 repo = "fcitx5-bamboo";
18 rev = finalAttrs.version;
19 hash = "sha256-vEc9z7lFqk+LPP5sTzOYgV7u+/mQY2OsaRsTrtcI/EI=";
20 fetchSubmodules = true;
21 };
22
23 strictDeps = true;
24
25 nativeBuildInputs = [
26 cmake
27 gettext
28 go
29 ];
30
31 buildInputs = [
32 fcitx5
33 extra-cmake-modules
34 ];
35
36 preConfigure = ''
37 export GOCACHE=$TMPDIR/go-cache
38 '';
39
40 meta = {
41 description = "Vietnamese input method engine support for Fcitx";
42 homepage = "https://github.com/fcitx/fcitx5-bamboo";
43 license = lib.licenses.lgpl21Plus;
44 maintainers = with lib.maintainers; [ eclairevoyant ];
45 platforms = lib.platforms.linux;
46 };
47})