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

36 lines
1.0 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, gss, libidn, krb5Full }:
stdenv.mkDerivation rec {
2013-02-23 13:49:23 +00:00
name = "gsasl-1.8.0";
src = fetchurl {
url = "mirror://gnu/gsasl/${name}.tar.gz";
2013-02-23 13:49:23 +00:00
sha256 = "1rci64cxvcfr8xcjpqc4inpfq7aw4snnsbf5xz7d30nhvv8n40ii";
};
buildInputs = [ libidn ]
++ stdenv.lib.optional (!stdenv.isDarwin) gss
++ stdenv.lib.optional stdenv.isDarwin krb5Full;
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--with-gssapi-impl=mit";
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/;
license = stdenv.lib.licenses.gpl3Plus;
2013-08-16 22:44:33 +01:00
maintainers = with stdenv.lib.maintainers; [ ];
platforms = stdenv.lib.platforms.all;
};
}