2021-01-21 17:00:13 +00:00
|
|
|
{ fetchurl, lib, stdenv, libidn, kerberos }:
|
2010-04-26 09:59:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-01-30 05:11:36 +00:00
|
|
|
name = "gsasl-1.10.0";
|
2010-04-26 09:59:25 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gsasl/${name}.tar.gz";
|
2021-01-30 05:11:36 +00:00
|
|
|
sha256 = "sha256-hby9juYJWt54cCY6KOvLiDL1Qepzk5dUlJJgFcB1aNM=";
|
2010-04-26 09:59:25 +01:00
|
|
|
};
|
|
|
|
|
2016-05-16 19:10:29 +01:00
|
|
|
buildInputs = [ libidn kerberos ];
|
2014-04-14 20:24:24 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--with-gssapi-impl=mit" ];
|
2011-05-30 22:49:24 +01: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 09:59:25 +01: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 09:59:25 +01:00
|
|
|
'';
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/gsasl/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2010-04-26 09:59:25 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ shlevy ];
|
|
|
|
platforms = lib.platforms.all;
|
2010-04-26 09:59:25 +01:00
|
|
|
};
|
|
|
|
}
|