2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnum4 }:
|
2016-03-10 09:21:33 +00:00
|
|
|
let
|
2016-09-29 13:17:00 +01:00
|
|
|
ver_maj = "2.10"; # odd major numbers are unstable
|
2016-04-03 07:06:27 +01:00
|
|
|
ver_min = "0";
|
2016-03-10 09:21:33 +00:00
|
|
|
in
|
2009-02-17 16:09:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-10 09:21:33 +00:00
|
|
|
name = "libsigc++-${ver_maj}.${ver_min}";
|
2012-06-16 15:15:32 +01:00
|
|
|
|
2005-09-07 15:57:30 +01:00
|
|
|
src = fetchurl {
|
2016-03-10 09:21:33 +00:00
|
|
|
url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz";
|
2016-09-29 13:17:00 +01:00
|
|
|
sha256 = "f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81";
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2016-03-10 09:21:33 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
2005-09-07 15:57:30 +01:00
|
|
|
|
2013-12-10 15:53:45 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2016-03-10 09:21:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-09-03 15:53:02 +01:00
|
|
|
homepage = https://libsigcplusplus.github.io/libsigcplusplus/;
|
2009-02-17 16:09:58 +00:00
|
|
|
description = "A typesafe callback system for standard C++";
|
2016-03-10 09:21:33 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2009-02-17 16:09:58 +00:00
|
|
|
};
|
|
|
|
}
|