depot/third_party/nixpkgs/pkgs/development/libraries/libsigcxx/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
749 B
Nix

{ stdenv, fetchurl, pkgconfig, gnum4, gnome3 }:
stdenv.mkDerivation rec {
pname = "libsigc++";
version = "2.10.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
};
nativeBuildInputs = [ pkgconfig gnum4 ];
doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "libsigcxx";
};
};
meta = with stdenv.lib; {
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
description = "A typesafe callback system for standard C++";
license = licenses.lgpl21;
platforms = platforms.all;
};
}