depot/third_party/nixpkgs/pkgs/development/libraries/libsigcxx/3.0.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
875 B
Nix

{ stdenv
, lib
, fetchurl
, pkg-config
, meson
, ninja
, gnome
}:
stdenv.mkDerivation rec {
pname = "libsigc++";
version = "3.6.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "w9I7N9/W458uCfCRt3sVQfv6F8Twtr9cibrvcikIDhc=";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
pkg-config
meson
ninja
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
attrPath = "libsigcxx30";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
description = "Typesafe callback system for standard C++";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.all;
};
}