libhangul: 0.1.0 -> 0.2.0 (#406162)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-13 20:58:15 +00:00
committed by GitHub

View File

@@ -1,29 +1,42 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
autoreconfHook,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libhangul";
version = "0.1.0";
version = "0.2.0";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libhangul/libhangul-${finalAttrs.version}.tar.gz";
sha256 = "0ni9b0v70wkm0116na7ghv03pgxsfpfszhgyj3hld3bxamfal1ar";
src = fetchFromGitHub {
owner = "libhangul";
repo = "libhangul";
hash = "sha256-1cTDsRJpT5TLdJN8D2LfOISWeAOlSO6zKZOaCrTxooM=";
tag = "libhangul-${finalAttrs.version}";
};
preAutoreconf = "./autogen.sh";
configureFlags = [
# detection doesn't work for cross builds
"ac_cv_func_realloc_0_nonnull=yes"
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
meta = {
description = "Core algorithm library for Korean input routines";
mainProgram = "hangul";
homepage = "https://github.com/choehwanjin/libhangul";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.ianwookim ];
homepage = "https://github.com/libhangul/libhangul";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [
ianwookim
honnip
];
platforms = lib.platforms.linux;
};
})