2018-12-25 16:29:16 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnum4, gnome3 }:
|
|
|
|
|
2009-02-17 17:09:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 16:29:16 +01:00
|
|
|
pname = "libsigc++";
|
|
|
|
version = "2.10.1";
|
2012-06-16 16:15:32 +02:00
|
|
|
|
2005-09-07 16:57:30 +02:00
|
|
|
src = fetchurl {
|
2018-12-25 16:29:16 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
|
2005-09-07 16:57:30 +02:00
|
|
|
};
|
|
|
|
|
2016-03-10 10:21:33 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
2005-09-07 16:57:30 +02:00
|
|
|
|
2013-12-10 16:53:45 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2018-12-25 16:29:16 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "libsigcxx";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-03-10 10:21:33 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-09-03 16:53:02 +02:00
|
|
|
homepage = https://libsigcplusplus.github.io/libsigcplusplus/;
|
2009-02-17 17:09:58 +01:00
|
|
|
description = "A typesafe callback system for standard C++";
|
2016-03-10 10:21:33 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2009-02-17 17:09:58 +01:00
|
|
|
};
|
|
|
|
}
|