···1+{
2+ lib,
3+ stdenv,
4+ fetchFromGitHub,
5+ vala,
6+ pkg-config,
7+ gobject-introspection,
8+ libxml2,
9+ libgee,
10+}:
11+12+stdenv.mkDerivation (finalAttrs: {
13+ pname = "libisocodes";
14+ version = "1.2.5";
15+16+ src = fetchFromGitHub {
17+ owner = "toddy15";
18+ repo = "libisocodes";
19+ rev = "v${finalAttrs.version}";
20+ hash = "sha256-a2gVqiZXDiH1byEw/s3MqDQBBZ/bmnw8OyllGYfYykQ=";
21+ };
22+23+ nativeBuildInputs = [
24+ vala
25+ pkg-config
26+ gobject-introspection
27+ ];
28+29+ buildInputs = [
30+ libxml2
31+ libgee
32+ ];
33+34+ meta = {
35+ description = "Easily access XML data of the iso-codes package";
36+ longDescription = ''
37+ This library can be used to easily access XML data of
38+ the iso-codes package. It will provide an abstraction
39+ layer to handle both the version 3 and the upcoming
40+ version 4 of iso-codes. Moreover, all available
41+ translations can be used as well.
42+43+ This library makes use of the GObject introspection
44+ features, so that it is accessible from a variety of
45+ programming languages, for example C, Vala, Ruby,
46+ Python, Perl, Lua, JavaScript, PHP and many more.
47+ '';
48+ homepage = "https://github.com/toddy15/libisocodes";
49+ license = lib.licenses.gpl3Plus;
50+ maintainers = with lib.maintainers; [ aleksana ];
51+ platforms = lib.platforms.unix;
52+ };
53+})