nixpkgs-suyu/pkgs/development/libraries/libsigcxx/3.0.nix

43 lines
847 B
Nix
Raw Normal View History

2021-05-06 17:21:00 +02:00
{ stdenv
, lib
, fetchurl
, pkg-config
, meson
, ninja
, gnome
2021-05-06 17:21:00 +02:00
}:
stdenv.mkDerivation rec {
pname = "libsigc++";
2021-09-12 07:23:04 +02:00
version = "3.0.7";
2021-05-06 17:21:00 +02:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-09-12 07:23:04 +02:00
sha256 = "v76RwNCU6mu8bL05CbfZjGVh7qi22cDCWt2Qam6D1zM=";
2021-05-06 17:21:00 +02:00
};
nativeBuildInputs = [
pkg-config
meson
ninja
];
doCheck = true;
passthru = {
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;
};
}