2021-03-14 16:11:48 +00:00
|
|
|
{ fetchurl, lib, stdenv, libidn, libkrb5 }:
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 13:21:29 +00:00
|
|
|
pname = "gsasl";
|
|
|
|
version = "1.10.0";
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 13:21:29 +00:00
|
|
|
url = "mirror://gnu/gsasl/${pname}-${version}.tar.gz";
|
2021-01-30 05:11:36 +00:00
|
|
|
sha256 = "sha256-hby9juYJWt54cCY6KOvLiDL1Qepzk5dUlJJgFcB1aNM=";
|
2010-04-26 08:59:25 +00:00
|
|
|
};
|
|
|
|
|
2021-03-14 16:11:48 +00:00
|
|
|
buildInputs = [ libidn libkrb5 ];
|
2014-04-14 19:24:24 +00:00
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--with-gssapi-impl=mit" ];
|
2011-05-30 21:49:24 +00:00
|
|
|
|
2020-03-03 09:34:20 +00:00
|
|
|
preCheck = ''
|
|
|
|
export LOCALDOMAIN="dummydomain"
|
|
|
|
'';
|
2018-11-03 01:41:38 +00:00
|
|
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU SASL, Simple Authentication and Security Layer library";
|
|
|
|
|
|
|
|
longDescription =
|
2020-03-03 09:34:20 +00:00
|
|
|
'' GNU SASL is a library that implements the IETF Simple
|
|
|
|
Authentication and Security Layer (SASL) framework and
|
|
|
|
some SASL mechanisms. SASL is used in network servers
|
|
|
|
(e.g. IMAP, SMTP, etc.) to authenticate peers.
|
2010-04-26 08:59:25 +00:00
|
|
|
'';
|
|
|
|
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnu.org/software/gsasl/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2010-04-26 08:59:25 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ shlevy ];
|
|
|
|
platforms = lib.platforms.all;
|
2010-04-26 08:59:25 +00:00
|
|
|
};
|
|
|
|
}
|