nixpkgs/pkgs/development/libraries/cyrus-sasl/default.nix
Lluís Batlle i Rossell 06eab9d0a7 Enabling AUTH_LOGIN in cyrus_sasl (thanks d3z#nixos)
svn path=/nixpkgs/trunk/; revision=21727
2010-05-11 16:17:31 +00:00

16 lines
513 B
Nix

{ stdenv, fetchurl, openssl, db4, gettext} :
stdenv.mkDerivation {
name = "cyrus-sasl-2.1.23";
src = fetchurl {
url = ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.23.tar.gz;
sha256 = "0dmi41hfy015pzks8n93qsshgvi0az7pv81nls4nxayb810crvr0";
};
preConfigure=''
configureFlags="--with-openssl=${openssl} --with-plugindir=$out/lib/sasl2 --with-configdir=$out/lib/sasl2 --enable-login"
'';
buildInputs = [ openssl db4 gettext ];
patches = [ ./cyrus-sasl-2.1.22-bad-elif.patch ];
}