mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
b368b4b199
I still can't build the kernel because it requires binutils yet to be released. svn path=/nixpkgs/branches/stdenv-updates/; revision=23132
17 lines
584 B
Nix
17 lines
584 B
Nix
{ stdenv, fetchurl, openssl, db4, gettext, automake} :
|
|
|
|
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"
|
|
cp ${automake}/share/automake*/config.{sub,guess} config
|
|
'';
|
|
buildInputs = [ openssl db4 gettext ];
|
|
patches = [ ./cyrus-sasl-2.1.22-bad-elif.patch ];
|
|
}
|