mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
34 lines
771 B
Nix
34 lines
771 B
Nix
{ stdenv, fetchurl, pkgconfig, gnum4, glib, libsigcxx }:
|
|
|
|
let
|
|
ver_maj = "2.48";
|
|
ver_min = "1";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "glibmm-${ver_maj}.${ver_min}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/glibmm/${ver_maj}/${name}.tar.xz";
|
|
sha256 = "1pvw2mrm03p51p03179rb6fk9p42iykkwj1jcdv7jr265xymy8nw";
|
|
};
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
|
propagatedBuildInputs = [ glib libsigcxx ];
|
|
|
|
enableParallelBuilding = true;
|
|
#doCheck = true; # some tests need network
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C++ interface to the GLib library";
|
|
|
|
homepage = http://gtkmm.org/;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [raskin];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|