2021-05-07 23:18:14 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, meson, ninja, gnome }:
|
2018-12-25 16:29:16 +01:00
|
|
|
|
2009-02-17 17:09:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 16:29:16 +01:00
|
|
|
pname = "libsigc++";
|
2021-03-21 02:22:20 +01:00
|
|
|
version = "2.10.6";
|
2012-06-16 16:15:32 +02:00
|
|
|
|
2005-09-07 16:57:30 +02:00
|
|
|
src = fetchurl {
|
2021-01-21 18:00:13 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-21 02:22:20 +01:00
|
|
|
sha256 = "sha256-3aF23EaBvanVoqwbxVJzvdOBZit6bUnpGCZ9E+h3Ths=";
|
2005-09-07 16:57:30 +02:00
|
|
|
};
|
|
|
|
|
2021-03-21 02:22:20 +01:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
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 = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-25 16:29:16 +01:00
|
|
|
packageName = pname;
|
|
|
|
attrPath = "libsigcxx";
|
2021-03-21 00:57:24 +01:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-25 16:29:16 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
|
2009-02-17 17:09:58 +01:00
|
|
|
description = "A typesafe callback system for standard C++";
|
2021-02-22 01:05:59 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
2016-03-10 10:21:33 +01:00
|
|
|
platforms = platforms.all;
|
2009-02-17 17:09:58 +01:00
|
|
|
};
|
|
|
|
}
|