depot/third_party/nixpkgs/pkgs/development/libraries/loudmouth/default.nix
Default email 73a29e0b97 Project import generated by Copybara.
GitOrigin-RevId: 5bb20f9dc70e9ee16e21cc404b6508654931ce41
2022-01-27 10:19:43 +10:00

27 lines
690 B
Nix

{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, 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 = [
];
configureFlags = [ "--with-ssl=openssl" ];
propagatedBuildInputs = [ openssl libidn glib zlib ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
description = "A lightweight C library for the Jabber protocol";
platforms = platforms.all;
downloadPage = "http://mcabber.com/files/loudmouth/";
license = licenses.lgpl21;
};
}