Merge pull request #52839 from jtojnar/libsigcxx

libsigcxx: 2.10.0 → 2.10.1
This commit is contained in:
Jan Tojnar 2018-12-25 17:02:57 +01:00 committed by GitHub
commit 996d14a004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,25 @@
{ stdenv, fetchurl, pkgconfig, gnum4 }: { stdenv, fetchurl, pkgconfig, gnum4, gnome3 }:
let
ver_maj = "2.10"; # odd major numbers are unstable
ver_min = "0";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libsigc++-${ver_maj}.${ver_min}"; pname = "libsigc++";
version = "2.10.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81"; sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
}; };
nativeBuildInputs = [ pkgconfig gnum4 ]; nativeBuildInputs = [ pkgconfig gnum4 ];
doCheck = true; doCheck = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "libsigcxx";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://libsigcplusplus.github.io/libsigcplusplus/; homepage = https://libsigcplusplus.github.io/libsigcplusplus/;
description = "A typesafe callback system for standard C++"; description = "A typesafe callback system for standard C++";