2021-05-06 17:21:00 +02:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-05-07 23:18:14 +02:00
|
|
|
, gnome
|
2021-05-06 17:21:00 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libsigc++";
|
2023-10-01 17:38:05 +02:00
|
|
|
version = "3.6.0";
|
2021-05-06 17:21:00 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-10-01 17:38:05 +02:00
|
|
|
sha256 = "w9I7N9/W458uCfCRt3sVQfv6F8Twtr9cibrvcikIDhc=";
|
2021-05-06 17:21:00 +02:00
|
|
|
};
|
|
|
|
|
2023-10-10 05:47:08 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-05-06 17:21:00 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2021-05-06 17:21:00 +02:00
|
|
|
packageName = pname;
|
|
|
|
attrPath = "libsigcxx30";
|
|
|
|
versionPolicy = "odd-unstable";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
|
|
|
|
description = "A typesafe callback system for standard C++";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|