2019-01-21 17:26:19 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx, gnome3, darwin }:
|
2013-02-21 23:36:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 03:53:08 +01:00
|
|
|
pname = "glibmm";
|
2019-09-19 01:48:32 +02:00
|
|
|
version = "2.62.0";
|
2013-02-21 23:36:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-24 03:53:08 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-19 01:48:32 +02:00
|
|
|
sha256 = "1ziwx6r7k7wbvg4qq1rgrv8zninapgrmhn1hs6926a3krh9ryr9n";
|
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 ];
|
2019-01-21 17:26:19 +01:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
|
|
|
Cocoa
|
|
|
|
]);
|
2013-12-10 17:02:13 +01:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
2016-03-10 10:38:36 +01:00
|
|
|
enableParallelBuilding = true;
|
2018-08-10 13:20:39 +02:00
|
|
|
|
|
|
|
doCheck = false; # fails. one test needs the net, another /etc/fstab
|
2013-02-21 23:36:13 +01:00
|
|
|
|
2018-12-24 03:53:08 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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";
|
|
|
|
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://gtkmm.org/;
|
2013-02-21 23:36:13 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|