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
52 lines
968 B
Nix
52 lines
968 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
glib,
|
|
gtk4,
|
|
ibus,
|
|
libadwaita,
|
|
libchewing,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "ibus-chewing";
|
|
version = "2.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chewing";
|
|
repo = "ibus-chewing";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-3lNzQHuWFreIf4M6z4St5ZfOwjAJOMBLwzOI8KTCTEw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
ibus
|
|
libadwaita
|
|
libchewing
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
isIbusEngine = true;
|
|
description = "Chewing engine for IBus";
|
|
homepage = "https://github.com/chewing/ibus-chewing";
|
|
changelog = "https://github.com/chewing/ibus-chewing/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ ShamrockLee ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|