2018-12-02 12:41:15 +01:00
|
|
|
{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobject-introspection, gnome3 }:
|
2018-12-25 04:34:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 01:56:17 +01:00
|
|
|
pname = "libgee";
|
2020-02-12 17:34:11 +01:00
|
|
|
version = "0.20.3";
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-04-26 22:59:34 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
src = fetchurl {
|
2018-12-25 04:34:57 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 17:34:11 +01:00
|
|
|
sha256 = "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoconf vala gobject-introspection ];
|
2017-09-18 23:51:11 +02:00
|
|
|
buildInputs = [ glib ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-04-26 22:59:34 +02:00
|
|
|
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";
|
|
|
|
|
2018-03-03 01:56:17 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
2018-03-03 01:57:27 +01:00
|
|
|
homepage = https://wiki.gnome.org/Projects/Libgee;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-03-16 23:13:42 +01:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 21:35:23 +02:00
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|