2021-05-07 14:18:14 -07:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnum4, glib, libsigcxx, gnome, darwin, meson, ninja }:
|
2013-02-21 14:36:13 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-23 18:53:08 -08:00
|
|
|
pname = "glibmm";
|
2021-03-11 16:51:18 -08:00
|
|
|
version = "2.64.5";
|
2013-02-21 14:36:13 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 09:00:13 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-11 16:51:18 -08:00
|
|
|
sha256 = "sha256-UI/IbiyRQRmKoWwiWxb9a5EZF8DTgXYCZShE0Jc+o4Y=";
|
2013-02-21 14:36:13 -08:00
|
|
|
};
|
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 10:20:28 -07:00
|
|
|
|
2020-09-01 08:13:54 -07:00
|
|
|
nativeBuildInputs = [
|
2021-03-11 16:51:18 -08:00
|
|
|
meson
|
2021-01-18 22:50:56 -08:00
|
|
|
pkg-config
|
2021-03-11 16:51:18 -08:00
|
|
|
ninja
|
2020-09-01 08:13:54 -07:00
|
|
|
gnum4
|
|
|
|
glib # for glib-compile-schemas
|
|
|
|
];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
2019-01-21 08:26:19 -08:00
|
|
|
Cocoa
|
|
|
|
]);
|
2013-12-10 08:02:13 -08:00
|
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
|
2018-08-10 04:20:39 -07:00
|
|
|
doCheck = false; # fails. one test needs the net, another /etc/fstab
|
2013-02-21 14:36:13 -08:00
|
|
|
|
2018-12-23 18:53:08 -08:00
|
|
|
passthru = {
|
2021-05-07 14:18:14 -07:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-23 18:53:08 -08:00
|
|
|
packageName = pname;
|
2021-03-20 16:57:24 -07:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-23 18:53:08 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2013-02-21 14:36:13 -08:00
|
|
|
description = "C++ interface to the GLib library";
|
|
|
|
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://gtkmm.org/";
|
2013-02-21 14:36:13 -08:00
|
|
|
|
2016-03-10 01:38:36 -08:00
|
|
|
license = licenses.lgpl2Plus;
|
2013-02-21 14:36:13 -08:00
|
|
|
|
2016-03-10 01:38:36 -08:00
|
|
|
maintainers = with maintainers; [raskin];
|
|
|
|
platforms = platforms.unix;
|
2013-02-21 14:36:13 -08:00
|
|
|
};
|
|
|
|
}
|