2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib }:
|
2008-01-28 11:49:25 -08:00
|
|
|
|
2012-10-09 08:28:38 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2016-10-04 04:23:49 -07:00
|
|
|
version = "1.5.3";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "loudmouth";
|
2012-10-09 08:28:38 -07:00
|
|
|
|
2009-04-09 05:16:58 -07:00
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://mcabber.com/files/loudmouth/${pname}-${version}.tar.bz2";
|
2016-10-04 04:23:49 -07:00
|
|
|
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
|
2009-04-09 05:16:58 -07:00
|
|
|
};
|
2012-10-09 08:28:38 -07:00
|
|
|
|
2015-01-02 19:40:12 -08:00
|
|
|
patches = [
|
|
|
|
];
|
2012-10-09 08:28:38 -07:00
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [ "--with-ssl=openssl" ];
|
2012-10-09 08:28:38 -07:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2012-10-09 08:28:38 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2012-10-09 08:28:38 -07:00
|
|
|
description = "A lightweight C library for the Jabber protocol";
|
2021-03-11 21:20:04 -08:00
|
|
|
platforms = platforms.all;
|
2016-10-04 04:23:49 -07:00
|
|
|
downloadPage = "http://mcabber.com/files/loudmouth/";
|
|
|
|
downloadURLRegexp = "loudmouth-[0-9.]+[.]tar[.]bz2$";
|
|
|
|
updateWalker = true;
|
2018-10-23 10:54:07 -07:00
|
|
|
license = licenses.lgpl21;
|
2012-10-09 08:28:38 -07:00
|
|
|
};
|
2008-01-28 11:49:25 -08:00
|
|
|
}
|