nixpkgs/pkgs/tools/networking/curl/default.nix
Eelco Dolstra a450978f26 * Glibc updated to 2.3.5.
* GCC 3.4.4 and 3.3.6.
* Other stdenv packages updated.

svn path=/nixpkgs/trunk/; revision=3188
2005-06-17 10:30:13 +00:00

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");
}