mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
libhangul: 0.1.0 -> 0.2.0 (#406162)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user