Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

66 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
replaceVars,
appstream-glib,
gettext,
pkg-config,
wrapGAppsHook3,
gobject-introspection,
autoreconfHook,
gtk3,
ibus,
libhangul,
python3,
}:
stdenv.mkDerivation rec {
pname = "ibus-hangul";
version = "1.5.5";
src = fetchFromGitHub {
owner = "libhangul";
repo = "ibus-hangul";
rev = version;
hash = "sha256-x2oOW8eiEuwmdCGUo+r/KcsitfGccSyianwIEaOBS3M=";
};
patches = [
(replaceVars ./fix-paths.patch {
libhangul = "${libhangul}/lib/libhangul.so.1";
})
];
nativeBuildInputs = [
appstream-glib
gettext
pkg-config
wrapGAppsHook3
gobject-introspection.setupHook
autoreconfHook
];
buildInputs = [
gtk3
ibus
libhangul
(python3.withPackages (
pypkgs: with pypkgs; [
pygobject3
(toPythonModule ibus)
]
))
];
meta = with lib; {
isIbusEngine = true;
description = "Ibus Hangul engine";
mainProgram = "ibus-setup-hangul";
homepage = "https://github.com/libhangul/ibus-hangul";
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.linux;
};
}