mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
58 lines
925 B
Nix
58 lines
925 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";
|
|
homepage = "https://github.com/ibus/ibus-pinyin";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ azuwis ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|