157332d666
This commit removes a patch from the derivation for libsigc++-2.0 that appended -std=c++11 to the pkg-config file. The patch in question orginated from the Debian project to enforce -std=c++11 in projects using libsigc++-2.0 via pkg-config. This patch was removed in 2016 when Debian switched to GCC 6. This fixes NixOS/nixpkgs#33534.
25 lines
651 B
Nix
25 lines
651 B
Nix
{ stdenv, fetchurl, fetchpatch, pkgconfig, gnum4 }:
|
|
let
|
|
ver_maj = "2.10"; # odd major numbers are unstable
|
|
ver_min = "0";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "libsigc++-${ver_maj}.${ver_min}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz";
|
|
sha256 = "f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig gnum4 ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://libsigc.sourceforge.net/;
|
|
description = "A typesafe callback system for standard C++";
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|