ibus-engines.pinyin: init at 1.5.1

This commit is contained in:
Zhong Jianxin 2024-06-11 20:21:28 +08:00
parent 5f6511b439
commit 12a2db4789
2 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,56 @@
{
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 = "The PinYin engine for IBus";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ azuwis ];
platforms = lib.platforms.linux;
};
}

View File

@ -6831,6 +6831,8 @@ with pkgs;
openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withIbusSupport = true; };
pinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-pinyin { };
rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { };
table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { };