From 3765f62fd64e4d7b75934b0372d3718df359d96f Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 4 Oct 2016 13:23:49 +0200 Subject: [PATCH] loudmouth: 1.4.3 -> 1.5.3, switch to mcabber version as the upstream as the Gnome version has stagnated --- .../development/libraries/loudmouth/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/loudmouth/default.nix b/pkgs/development/libraries/loudmouth/default.nix index dfb3077f58f..775b515dc7f 100644 --- a/pkgs/development/libraries/loudmouth/default.nix +++ b/pkgs/development/libraries/loudmouth/default.nix @@ -1,21 +1,15 @@ { stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }: stdenv.mkDerivation rec { - name = "loudmouth-1.4.3"; + version = "1.5.3"; + name = "loudmouth-${version}"; src = fetchurl { - url = "mirror://gnome/sources/loudmouth/1.4/${name}.tar.bz2"; - sha256 = "1qr9z73i33y49pbpq6zy7q537g0iyc8sm56rjf0ylwcv01fkzacm"; + url = "http://mcabber.com/files/loudmouth/${name}.tar.bz2"; + sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl"; }; patches = [ - ./glib-2.32.patch - (fetchurl rec { - name = "01-fix-sasl-md5-digest-uri.patch"; - url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/" - + "${name}?h=packages/loudmouth"; - sha256 = "0y79vbklscgp8248iirllwmgk4q0wwyl3gmxz7l9frc2384xvanm"; - }) ]; configureFlags = "--with-ssl=openssl"; @@ -27,5 +21,8 @@ stdenv.mkDerivation rec { meta = { description = "A lightweight C library for the Jabber protocol"; platforms = stdenv.lib.platforms.linux; + downloadPage = "http://mcabber.com/files/loudmouth/"; + downloadURLRegexp = "loudmouth-[0-9.]+[.]tar[.]bz2$"; + updateWalker = true; }; }