2016-01-12 09:21:53 +00:00
|
|
|
{ fetchurl, stdenv, gss, libidn, krb5Full }:
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-23 13:49:23 +00:00
|
|
|
name = "gsasl-1.8.0";
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gsasl/${name}.tar.gz";
|
2013-02-23 13:49:23 +00:00
|
|
|
sha256 = "1rci64cxvcfr8xcjpqc4inpfq7aw4snnsbf5xz7d30nhvv8n40ii";
|
2010-04-26 08:59:25 +00:00
|
|
|
};
|
|
|
|
|
2014-04-14 19:24:24 +00:00
|
|
|
buildInputs = [ libidn ]
|
2016-01-12 09:21:53 +00:00
|
|
|
++ stdenv.lib.optional (!stdenv.isDarwin) gss
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin krb5Full;
|
2014-04-14 19:24:24 +00:00
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--with-gssapi-impl=mit";
|
2011-05-30 21:49:24 +00:00
|
|
|
|
2010-04-26 08:59:25 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
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 = http://www.gnu.org/software/gsasl/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-04-26 08:59:25 +00:00
|
|
|
|
2013-08-16 21:44:33 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2010-04-26 08:59:25 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|