mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
ibus-engines.chewing: init at 2.1.4
(cherry picked from commit bfa36019b9)
This commit is contained in:
committed by
github-actions[bot]
parent
88331c17ba
commit
a2d101d9c3
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
wrapGAppsHook4,
|
||||
glib,
|
||||
gtk4,
|
||||
ibus,
|
||||
libadwaita,
|
||||
libchewing,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ibus-chewing";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chewing";
|
||||
repo = "ibus-chewing";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-l2sXjXpiParDslVDG1mXmtGNj6qcLJMPxeaBYNQkqZA=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
||||
@@ -2629,6 +2629,8 @@ with pkgs;
|
||||
|
||||
cangjie = callPackage ../tools/inputmethods/ibus-engines/ibus-cangjie { };
|
||||
|
||||
chewing = callPackage ../tools/inputmethods/ibus-engines/ibus-chewing { };
|
||||
|
||||
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
|
||||
|
||||
kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };
|
||||
|
||||
Reference in New Issue
Block a user