2012-10-09 16:28:38 +01:00
|
|
|
{ stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }:
|
2008-01-28 19:49:25 +00:00
|
|
|
|
2012-10-09 16:28:38 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-04-09 13:16:58 +01:00
|
|
|
name = "loudmouth-1.4.3";
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2009-04-09 13:16:58 +01:00
|
|
|
src = fetchurl {
|
2012-10-09 16:28:38 +01:00
|
|
|
url = "mirror://gnome/sources/loudmouth/1.4/${name}.tar.bz2";
|
2014-10-12 15:13:21 +01:00
|
|
|
sha256 = "1qr9z73i33y49pbpq6zy7q537g0iyc8sm56rjf0ylwcv01fkzacm";
|
2009-04-09 13:16:58 +01:00
|
|
|
};
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2015-01-03 03:40:12 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2009-09-10 22:08:46 +01:00
|
|
|
configureFlags = "--with-ssl=openssl";
|
2012-10-09 16:28:38 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A lightweight C library for the Jabber protocol";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-10-09 16:28:38 +01:00
|
|
|
};
|
2008-01-28 19:49:25 +00:00
|
|
|
}
|