nixpkgs/pkgs/development/libraries/gsasl/default.nix

37 lines
987 B
Nix
Raw Normal View History

{ fetchurl, lib, stdenv, libidn, kerberos }:
stdenv.mkDerivation rec {
2021-01-30 05:11:36 +00:00
name = "gsasl-1.10.0";
src = fetchurl {
url = "mirror://gnu/gsasl/${name}.tar.gz";
2021-01-30 05:11:36 +00:00
sha256 = "sha256-hby9juYJWt54cCY6KOvLiDL1Qepzk5dUlJJgFcB1aNM=";
};
2016-05-16 19:10:29 +01:00
buildInputs = [ libidn kerberos ];
2018-07-25 22:44:21 +01:00
configureFlags = [ "--with-gssapi-impl=mit" ];
preCheck = ''
export LOCALDOMAIN="dummydomain"
'';
2018-11-03 01:41:38 +00:00
doCheck = !stdenv.hostPlatform.isDarwin;
meta = {
description = "GNU SASL, Simple Authentication and Security Layer library";
longDescription =
'' 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.
'';
homepage = "https://www.gnu.org/software/gsasl/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ shlevy ];
platforms = lib.platforms.all;
};
}