2013-12-10 17:02:13 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libsigcxx }:
|
2013-02-21 23:36:13 +01:00
|
|
|
|
2013-12-10 17:02:13 +01:00
|
|
|
let
|
2014-11-08 21:21:36 +01:00
|
|
|
ver_maj = "2.42";
|
|
|
|
ver_min = "0";
|
2013-12-10 17:02:13 +01:00
|
|
|
in
|
2013-02-21 23:36:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-10 17:02:13 +01:00
|
|
|
name = "glibmm-${ver_maj}.${ver_min}";
|
2013-02-21 23:36:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-10 17:02:13 +01:00
|
|
|
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
|
2014-11-08 21:21:36 +01:00
|
|
|
sha256 = "985083d97378d234da27a7243587cc0d186897a4b2d3c1286f794089be1a3397";
|
2013-02-21 23:36:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2013-12-10 17:02:13 +01:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
|
|
|
#doCheck = true; # some tests need network
|
2013-02-21 23:36:13 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ interface to the GLib library";
|
|
|
|
|
|
|
|
homepage = http://gtkmm.org/;
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2013-02-21 23:36:13 +01:00
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [urkud raskin];
|
2015-04-08 02:43:31 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-02-21 23:36:13 +01:00
|
|
|
};
|
|
|
|
}
|