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