2023-08-04 22:07:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib, darwin }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.5.3";
|
|
|
|
pname = "loudmouth";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://mcabber.com/files/loudmouth/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--with-ssl=openssl" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
buildInputs = lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") [
|
|
|
|
darwin.apple_sdk.frameworks.AppKit
|
|
|
|
darwin.apple_sdk.frameworks.Foundation
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Lightweight C library for the Jabber protocol";
|
2021-03-15 08:37:03 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
downloadPage = "http://mcabber.com/files/loudmouth/";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|