1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
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;
};
})
|