2021-05-07 21:18:14 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, vala, pkg-config, glib, gobject-introspection, gnome }:
|
2018-12-25 03:34:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 00:56:17 +00:00
|
|
|
pname = "libgee";
|
2022-02-10 08:21:08 +00:00
|
|
|
version = "0.20.5";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-04-26 20:59:34 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-02-10 08:21:08 +00:00
|
|
|
sha256 = "MYY6iVfVpyf5BnSVyr8KCIn6XT1EYm5UCUMxGI1cFRg=";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoconf vala gobject-introspection ];
|
2017-09-18 21:51:11 +00:00
|
|
|
buildInputs = [ glib ];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-04-26 20:59:34 +00: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 00:56:17 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 00:56:17 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 00:56:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Libgee";
|
2016-09-18 19:35:23 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-03-16 22:13:42 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|