1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-18 17:23:25 -04:00
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-pinyin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
875 B
Nix
Raw Permalink Normal View History

2024-06-11 08:21:28 -04:00
{
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;
};
}