2021-03-12 00:51:18 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnum4, glib, libsigcxx, gnome3, darwin, meson, ninja }:
|
2013-02-21 22:36:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 02:53:08 +00:00
|
|
|
pname = "glibmm";
|
2021-03-12 00:51:18 +00:00
|
|
|
version = "2.64.5";
|
2013-02-21 22:36:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-12 00:51:18 +00:00
|
|
|
sha256 = "sha256-UI/IbiyRQRmKoWwiWxb9a5EZF8DTgXYCZShE0Jc+o4Y=";
|
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
|
|
|
|
2020-09-01 16:13:54 +01:00
|
|
|
nativeBuildInputs = [
|
2021-03-12 00:51:18 +00:00
|
|
|
meson
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2021-03-12 00:51:18 +00:00
|
|
|
ninja
|
2020-09-01 16:13:54 +01:00
|
|
|
gnum4
|
|
|
|
glib # for glib-compile-schemas
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
2019-01-21 16:26:19 +00:00
|
|
|
Cocoa
|
|
|
|
]);
|
2013-12-10 16:02:13 +00:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
2016-03-10 09:38:36 +00:00
|
|
|
enableParallelBuilding = true;
|
2018-08-10 12:20:39 +01:00
|
|
|
|
|
|
|
doCheck = false; # fails. one test needs the net, another /etc/fstab
|
2013-02-21 22:36:13 +00:00
|
|
|
|
2018-12-24 02:53:08 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-02-21 22:36:13 +00:00
|
|
|
description = "C++ interface to the GLib library";
|
|
|
|
|
2020-04-01 02:11: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
|
|
|
};
|
|
|
|
}
|