From 26b67c2ef9beedd0845265a60a708695106250ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 10 Mar 2016 10:21:33 +0100 Subject: [PATCH] libsigc++: update 2.3.1 -> 2.6.2 We were using a rather old development (!) release. --- .../development/libraries/libsigcxx/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libsigcxx/default.nix b/pkgs/development/libraries/libsigcxx/default.nix index 610d14568ae5..91273ad30dd3 100644 --- a/pkgs/development/libraries/libsigcxx/default.nix +++ b/pkgs/development/libraries/libsigcxx/default.nix @@ -1,19 +1,24 @@ { stdenv, fetchurl, pkgconfig, gnum4 }: - +let + ver_maj = "2.6"; # odd major numbers are unstable + ver_min = "2"; +in stdenv.mkDerivation rec { - name = "libsigc++-2.3.1"; + name = "libsigc++-${ver_maj}.${ver_min}"; src = fetchurl { - url = "mirror://gnome/sources/libsigc++/2.3/${name}.tar.xz"; - sha256 = "14q3sq6d43f6wfcmwhw4v1aal4ba0h5x9v6wkxy2dnqznd95il37"; + url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz"; + sha256 = "fdace7134c31de792c17570f9049ca0657909b28c4c70ec4882f91a03de54437"; }; - buildInputs = [ pkgconfig gnum4 ]; + nativeBuildInputs = [ pkgconfig gnum4 ]; doCheck = true; - meta = { + meta = with stdenv.lib; { homepage = http://libsigc.sourceforge.net/; description = "A typesafe callback system for standard C++"; + license = licenses.lgpl21; + platforms = platforms.all; }; }