3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/libgee/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2017-09-18 22:51:11 +01:00
{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }:
let
2018-03-03 00:56:17 +00:00
pname = "libgee";
2018-03-03 00:57:27 +00:00
version = "0.20.1";
in
stdenv.mkDerivation rec {
2018-03-03 00:56:17 +00:00
name = "${pname}-${version}";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-03-03 00:57:27 +00:00
sha256 = "0c26x8gi3ivmhlbqcmiag4jwrkvcy28ld24j55nqr3jikb904a5v";
};
doCheck = true;
2017-09-18 22:51:11 +01:00
nativeBuildInputs = [ pkgconfig autoconf vala gobjectIntrospection ];
2017-09-18 22:51:11 +01:00
buildInputs = [ glib ];
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 = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
2018-03-03 00:57:27 +00:00
homepage = https://wiki.gnome.org/Projects/Libgee;
license = licenses.lgpl21Plus;
2017-03-16 22:13:42 +00:00
platforms = platforms.unix;
maintainers = gnome3.maintainers;
};
}