depot/third_party/nixpkgs/pkgs/by-name/li/libisocodes/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

53 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;
};
})