nixpkgs-suyu/pkgs/development/libraries/glibmm/default.nix

41 lines
1,019 B
Nix
Raw Normal View History

{ 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";
version = "2.60.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";
sha256 = "1g7jxqd270dv2d83r7pf5893mwpz7d5xib0q01na2yalh34v38d3";
2013-02-21 23:36:13 +01:00
};
outputs = [ "out" "dev" ];
2016-04-24 19:20:28 +02:00
nativeBuildInputs = [ pkgconfig gnum4 ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Cocoa
]);
propagatedBuildInputs = [ glib libsigcxx ];
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;
};
};
meta = with stdenv.lib; {
2013-02-21 23:36:13 +01:00
description = "C++ interface to the GLib library";
homepage = https://gtkmm.org/;
2013-02-21 23:36:13 +01:00
license = licenses.lgpl2Plus;
2013-02-21 23:36:13 +01:00
maintainers = with maintainers; [raskin];
platforms = platforms.unix;
2013-02-21 23:36:13 +01:00
};
}