2017-09-18 23:51:11 +02:00
|
|
|
{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
let
|
2018-03-03 01:56:17 +01:00
|
|
|
pname = "libgee";
|
2018-03-03 01:57:27 +01:00
|
|
|
version = "0.20.1";
|
2016-09-18 21:35:23 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 01:56:17 +01:00
|
|
|
name = "${pname}-${version}";
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-03 01:56:17 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-03 01:57:27 +01:00
|
|
|
sha256 = "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v";
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2018-03-26 14:03:18 +02:00
|
|
|
patches = [ ./fix_introspection_paths.patch ];
|
|
|
|
|
2017-09-18 23:51:11 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig autoconf vala gobjectIntrospection ];
|
2017-09-18 23:51:11 +02:00
|
|
|
buildInputs = [ glib ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-03 01:56:17 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${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;
|
|
|
|
};
|
|
|
|
}
|