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

34 lines
771 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx }:
2013-02-21 22:36:13 +00:00
let
2016-04-03 07:06:59 +01:00
ver_maj = "2.48";
ver_min = "1";
in
2013-02-21 22:36:13 +00:00
stdenv.mkDerivation rec {
name = "glibmm-${ver_maj}.${ver_min}";
2013-02-21 22:36:13 +00:00
src = fetchurl {
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
2016-04-03 07:06:59 +01:00
sha256 = "1pvw2mrm03p51p03179rb6fk9p42iykkwj1jcdv7jr265xymy8nw";
2013-02-21 22:36:13 +00:00
};
outputs = [ "out" "dev" ];
2016-04-24 18:20:28 +01:00
nativeBuildInputs = [ pkgconfig gnum4 ];
propagatedBuildInputs = [ glib libsigcxx ];
enableParallelBuilding = true;
#doCheck = true; # some tests need network
2013-02-21 22:36:13 +00:00
meta = with stdenv.lib; {
2013-02-21 22:36:13 +00:00
description = "C++ interface to the GLib library";
homepage = http://gtkmm.org/;
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
};
}