Colin 5cdef1a5bf treewide: move extra-cmake-modules to nativeBuildInputs
it's a dependency only for build time, not run time.
the majority of packages place this in nativeBuildInputs,
these few were outliars.
2025-04-21 16:51:09 +00:00

49 lines
860 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
extra-cmake-modules,
fcitx5,
gettext,
go,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fcitx5-bamboo";
version = "1.0.7";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-bamboo";
rev = finalAttrs.version;
hash = "sha256-yvyJHIXUYpOIeiSQasSRKTbN4Z0BAjohz8VlZKqMg0Q=";
fetchSubmodules = true;
};
strictDeps = true;
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
go
];
buildInputs = [
fcitx5
];
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; [ ];
platforms = lib.platforms.linux;
};
})