1 { lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib, darwin }:
3 stdenv.mkDerivation rec {
8 url = "https://mcabber.com/files/loudmouth/${pname}-${version}.tar.bz2";
9 sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
12 configureFlags = [ "--with-ssl=openssl" ];
14 propagatedBuildInputs = [ openssl libidn glib zlib ];
16 nativeBuildInputs = [ pkg-config ];
18 buildInputs = lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") [
19 darwin.apple_sdk.frameworks.AppKit
20 darwin.apple_sdk.frameworks.Foundation
24 description = "A lightweight C library for the Jabber protocol";
25 platforms = platforms.all;
26 downloadPage = "http://mcabber.com/files/loudmouth/";
27 license = licenses.lgpl21;