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 {
|
2016-10-04 12:23:49 +01:00
|
|
|
version = "1.5.3";
|
|
|
|
name = "loudmouth-${version}";
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2009-04-09 13:16:58 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://mcabber.com/files/loudmouth/${name}.tar.bz2";
|
2016-10-04 12:23:49 +01:00
|
|
|
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
|
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 = [
|
|
|
|
];
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--with-ssl=openssl" ];
|
2012-10-09 16:28:38 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
|
|
|
|
2017-09-05 22:25:26 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-10-09 16:28:38 +01:00
|
|
|
|
2018-10-23 18:54:07 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-10-09 16:28:38 +01:00
|
|
|
description = "A lightweight C library for the Jabber protocol";
|
2018-10-23 18:54:07 +01:00
|
|
|
platforms = platforms.linux;
|
2016-10-04 12:23:49 +01:00
|
|
|
downloadPage = "http://mcabber.com/files/loudmouth/";
|
|
|
|
downloadURLRegexp = "loudmouth-[0-9.]+[.]tar[.]bz2$";
|
|
|
|
updateWalker = true;
|
2018-10-23 18:54:07 +01:00
|
|
|
license = licenses.lgpl21;
|
2012-10-09 16:28:38 +01:00
|
|
|
};
|
2008-01-28 19:49:25 +00:00
|
|
|
}
|