nixpkgs/pkgs/development/libraries/loudmouth/default.nix

30 lines
775 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openssl, libidn, glib, pkgconfig, zlib }:
stdenv.mkDerivation rec {
version = "1.5.3";
pname = "loudmouth";
src = fetchurl {
url = "https://mcabber.com/files/loudmouth/${pname}-${version}.tar.bz2";
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
};
patches = [
];
2018-07-25 22:44:21 +01:00
configureFlags = [ "--with-ssl=openssl" ];
propagatedBuildInputs = [ openssl libidn glib zlib ];
nativeBuildInputs = [ pkgconfig ];
2018-10-23 18:54:07 +01:00
meta = with stdenv.lib; {
description = "A lightweight C library for the Jabber protocol";
2018-10-23 18:54:07 +01:00
platforms = platforms.linux;
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;
};
}