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
57 lines
871 B
Nix
57 lines
871 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
intltool,
|
|
pkg-config,
|
|
python3,
|
|
wrapGAppsHook3,
|
|
glib,
|
|
gtk3,
|
|
ibus,
|
|
lua,
|
|
pyzy,
|
|
sqlite,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ibus-pinyin";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ibus";
|
|
repo = "ibus-pinyin";
|
|
rev = version;
|
|
hash = "sha256-8nM/dEjkNhQNv6Ikv4xtRkS3mALDT6OYC1EAKn1zNtI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
intltool
|
|
pkg-config
|
|
python3
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
ibus
|
|
lua
|
|
pyzy
|
|
sqlite
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
isIbusEngine = true;
|
|
description = "PinYin engine for IBus";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ azuwis ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|