a450978f26
* GCC 3.4.4 and 3.3.6. * Other stdenv packages updated. svn path=/nixpkgs/trunk/; revision=3188
15 lines
458 B
Nix
15 lines
458 B
Nix
{stdenv, fetchurl, zlib, sslSupport ? false, openssl ? null}:
|
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "curl-7.14.0";
|
|
src = fetchurl {
|
|
url = http://curl.haxx.se/download/curl-7.14.0.tar.bz2;
|
|
md5 = "46ce665e47d37fce1a0bad935cce58a9";
|
|
};
|
|
buildInputs = [zlib (if sslSupport then openssl else null)];
|
|
patches = [./configure-cxxcpp.patch];
|
|
configureFlags = (if sslSupport then "--with-ssl" else "--without-ssl");
|
|
}
|