2012-01-18 09:14:18 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnum4 }:
|
2016-03-10 01:21:33 -08:00
|
|
|
let
|
|
|
|
ver_maj = "2.6"; # odd major numbers are unstable
|
|
|
|
ver_min = "2";
|
|
|
|
in
|
2009-02-17 08:09:58 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-10 01:21:33 -08:00
|
|
|
name = "libsigc++-${ver_maj}.${ver_min}";
|
2012-06-16 07:15:32 -07:00
|
|
|
|
2005-09-07 07:57:30 -07:00
|
|
|
src = fetchurl {
|
2016-03-10 01:21:33 -08:00
|
|
|
url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz";
|
|
|
|
sha256 = "fdace7134c31de792c17570f9049ca0657909b28c4c70ec4882f91a03de54437";
|
2005-09-07 07:57:30 -07:00
|
|
|
};
|
|
|
|
|
2016-03-10 01:21:33 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
2005-09-07 07:57:30 -07:00
|
|
|
|
2013-12-10 07:53:45 -08:00
|
|
|
doCheck = true;
|
|
|
|
|
2016-03-10 01:21:33 -08:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-17 08:09:58 -08:00
|
|
|
homepage = http://libsigc.sourceforge.net/;
|
|
|
|
description = "A typesafe callback system for standard C++";
|
2016-03-10 01:21:33 -08:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2009-02-17 08:09:58 -08:00
|
|
|
};
|
|
|
|
}
|