lol
1{ fetchurl, stdenv, gss, libidn }:
2
3stdenv.mkDerivation rec {
4 name = "gsasl-1.8.0";
5
6 src = fetchurl {
7 url = "mirror://gnu/gsasl/${name}.tar.gz";
8 sha256 = "1rci64cxvcfr8xcjpqc4inpfq7aw4snnsbf5xz7d30nhvv8n40ii";
9 };
10
11 buildInputs = [ libidn ]
12 ++ stdenv.lib.optional (!stdenv.isDarwin) gss;
13
14 configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--with-gssapi-impl=mit";
15
16 doCheck = true;
17
18 meta = {
19 description = "GNU SASL, Simple Authentication and Security Layer library";
20
21 longDescription =
22 '' GNU SASL is a library that implements the IETF Simple
23 Authentication and Security Layer (SASL) framework and
24 some SASL mechanisms. SASL is used in network servers
25 (e.g. IMAP, SMTP, etc.) to authenticate peers.
26 '';
27
28 homepage = http://www.gnu.org/software/gsasl/;
29 license = stdenv.lib.licenses.gpl3Plus;
30
31 maintainers = with stdenv.lib.maintainers; [ ];
32 platforms = stdenv.lib.platforms.all;
33 };
34}