2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnum4, gnome3 }:
|
2018-12-25 15:29:16 +00:00
|
|
|
|
2009-02-17 16:09:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 15:29:16 +00:00
|
|
|
pname = "libsigc++";
|
|
|
|
version = "2.10.1";
|
2012-06-16 15:15:32 +01:00
|
|
|
|
2005-09-07 15:57:30 +01:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-25 15:29:16 +00:00
|
|
|
sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
|
2005-09-07 15:57:30 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gnum4 ];
|
2005-09-07 15:57:30 +01:00
|
|
|
|
2013-12-10 15:53:45 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2018-12-25 15:29:16 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "libsigcxx";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +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
|
|
|
};
|
|
|
|
}
|