Files
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-bamboo/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
900 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
xorg,
pkg-config,
wrapGAppsHook3,
go,
}:
stdenv.mkDerivation rec {
pname = "ibus-bamboo";
version = "0.8.4-rc6";
src = fetchFromGitHub {
owner = "BambooEngine";
repo = pname;
rev = "v" + lib.toUpper version;
sha256 = "sha256-8eBrgUlzrfQkgzr0/Nz/0FQ98UBdV0GQcZhJVbmyOg0=";
};
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
go
];
buildInputs = [
xorg.libXtst
];
preConfigure = ''
export GOCACHE="$TMPDIR/go-cache"
sed -i "s,/usr,$out," data/bamboo.xml
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
isIbusEngine = true;
description = "Vietnamese IME for IBus";
homepage = "https://github.com/BambooEngine/ibus-bamboo";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ astronaut0212 ];
};
}