2016-03-10 10:38:36 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx }:
|
2013-02-21 23:36:13 +01:00
|
|
|
|
2013-12-10 17:02:13 +01:00
|
|
|
let
|
2016-09-29 14:16:35 +02:00
|
|
|
ver_maj = "2.50";
|
|
|
|
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";
|
2016-09-29 14:16:35 +02:00
|
|
|
sha256 = "df726e3c6ef42b7621474b03b644a2e40ec4eef94a1c5a932c1e740a78f95e94";
|
2013-02-21 23:36:13 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 19:20:28 +02:00
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
2013-12-10 17:02:13 +01:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
enableParallelBuilding = true;
|
2013-12-10 17:02:13 +01:00
|
|
|
#doCheck = true; # some tests need network
|
2013-02-21 23:36:13 +01:00
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-21 23:36:13 +01:00
|
|
|
description = "C++ interface to the GLib library";
|
|
|
|
|
|
|
|
homepage = http://gtkmm.org/;
|
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
2013-02-21 23:36:13 +01:00
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
maintainers = with maintainers; [raskin];
|
|
|
|
platforms = platforms.unix;
|
2013-02-21 23:36:13 +01:00
|
|
|
};
|
|
|
|
}
|