1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libsigc++: update 2.3.1 -> 2.6.2

We were using a rather old development (!) release.
This commit is contained in:
Vladimír Čunát 2016-03-10 10:21:33 +01:00
parent 8c44d5bea3
commit 26b67c2ef9

View file

@ -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;
};
}