nixpkgs/pkgs/development/libraries/libsigcxx/default.nix

30 lines
751 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkg-config, gnum4, gnome3 }:
2018-12-25 15:29:16 +00:00
stdenv.mkDerivation rec {
2018-12-25 15:29:16 +00:00
pname = "libsigc++";
version = "2.10.1";
src = fetchurl {
2018-12-25 15:29:16 +00:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
};
nativeBuildInputs = [ pkg-config gnum4 ];
doCheck = true;
2018-12-25 15:29:16 +00:00
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;
};
}