2013-12-10 16:02:13 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libsigcxx }:
|
2013-02-21 22:36:13 +00:00
|
|
|
|
2013-12-10 16:02:13 +00:00
|
|
|
let
|
|
|
|
ver_maj = "2.38";
|
|
|
|
ver_min = "1";
|
|
|
|
in
|
2013-02-21 22:36:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-10 16:02:13 +00:00
|
|
|
name = "glibmm-${ver_maj}.${ver_min}";
|
2013-02-21 22:36:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-10 16:02:13 +00:00
|
|
|
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
|
|
|
|
sha256 = "18n4czi6lh4ncj54apxms18xn9k8pmrp2ba9sxn0sk9w3pp2bja9";
|
2013-02-21 22:36:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2013-12-10 16:02:13 +00:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
|
|
|
#doCheck = true; # some tests need network
|
2013-02-21 22:36:13 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ interface to the GLib library";
|
|
|
|
|
|
|
|
homepage = http://gtkmm.org/;
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2013-02-21 22:36:13 +00:00
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [urkud raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|