loudmouth: Fix building with the latest glib

http://hydra.nixos.org/build/3148780
This commit is contained in:
Eelco Dolstra 2012-10-09 11:28:38 -04:00
parent b713d13bb4
commit f81a86d4b9
1 changed files with 15 additions and 9 deletions

View File

@ -1,16 +1,22 @@
{stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib}: { stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "loudmouth-1.4.3"; name = "loudmouth-1.4.3";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/loudmouth/1.4/loudmouth-1.4.3.tar.bz2; url = "mirror://gnome/sources/loudmouth/1.4/${name}.tar.bz2";
md5 = "55339ca42494690c3942ee1465a96937"; md5 = "55339ca42494690c3942ee1465a96937";
}; };
patches = [ ./glib-2.32.patch ];
configureFlags = "--with-ssl=openssl"; configureFlags = "--with-ssl=openssl";
propagatedBuildInputs = [openssl libidn glib zlib]; propagatedBuildInputs = [ openssl libidn glib zlib ];
buildInputs = [pkgconfig]; buildInputs = [ pkgconfig ];
meta = {
description = "A lightweight C library for the Jabber protocol";
};
} }