blob: 0ae1886ebb62d569e3bba8ce30791052738d5031 (
plain) (
blame)
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
54
55
|
{ stdenv
, lib
, fetchurl
, autoconf
, vala
, pkg-config
, glib
, gobject-introspection
, gnome
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libgee";
version = "0.20.6";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/libgee/${lib.versions.majorMinor finalAttrs.version}/libgee-${finalAttrs.version}.tar.xz";
sha256 = "G/g09eENYMxhJNdO08HdONpkZ4f794ciILi0Bo5HbU0=";
};
nativeBuildInputs = [
pkg-config
autoconf
vala
gobject-introspection
];
buildInputs = [
glib
];
doCheck = true;
env = {
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "dev"}/share/gir-1.0";
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
};
passthru = {
updateScript = gnome.updateScript {
packageName = "libgee";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
homepage = "https://gitlab.gnome.org/GNOME/libgee";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
})
|