Files
nixpkgs/pkgs/by-name/li/libisocodes/package.nix
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

54 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
vala,
pkg-config,
gobject-introspection,
libxml2,
libgee,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libisocodes";
version = "1.2.5";
src = fetchFromGitHub {
owner = "toddy15";
repo = "libisocodes";
rev = "v${finalAttrs.version}";
hash = "sha256-a2gVqiZXDiH1byEw/s3MqDQBBZ/bmnw8OyllGYfYykQ=";
};
nativeBuildInputs = [
vala
pkg-config
gobject-introspection
];
buildInputs = [
libxml2
libgee
];
meta = {
description = "Easily access XML data of the iso-codes package";
longDescription = ''
This library can be used to easily access XML data of
the iso-codes package. It will provide an abstraction
layer to handle both the version 3 and the upcoming
version 4 of iso-codes. Moreover, all available
translations can be used as well.
This library makes use of the GObject introspection
features, so that it is accessible from a variety of
programming languages, for example C, Vala, Ruby,
Python, Perl, Lua, JavaScript, PHP and many more.
'';
homepage = "https://github.com/toddy15/libisocodes";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.unix;
};
})