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

46 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gnum4, glib, libsigcxx, gnome3, darwin }:
2013-02-21 22:36:13 +00:00
stdenv.mkDerivation rec {
2018-12-24 02:53:08 +00:00
pname = "glibmm";
2020-05-05 06:33:42 +00:00
version = "2.64.2";
2013-02-21 22:36:13 +00:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-05-05 06:33:42 +00:00
sha256 = "1v6lp23fr2qh4zshcnm28sn29j3nzgsvcqj2nhmrnvamipjq4lm7";
2013-02-21 22:36:13 +00:00
};
outputs = [ "out" "dev" ];
2016-04-24 17:20:28 +00:00
nativeBuildInputs = [
pkg-config
gnum4
glib # for glib-compile-schemas
];
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
Cocoa
]);
propagatedBuildInputs = [ glib libsigcxx ];
enableParallelBuilding = true;
2018-08-10 11:20:39 +00: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;
};
};
meta = with lib; {
2013-02-21 22:36:13 +00:00
description = "C++ interface to the GLib library";
homepage = "https://gtkmm.org/";
2013-02-21 22:36:13 +00:00
license = licenses.lgpl2Plus;
2013-02-21 22:36:13 +00:00
maintainers = with maintainers; [raskin];
platforms = platforms.unix;
2013-02-21 22:36:13 +00:00
};
}