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