nixpkgs/pkgs/tools/networking/curl/default.nix
Armijn Hemel 809f592e0a new version of curl
svn path=/nixpkgs/trunk/; revision=5459
2006-06-17 11:51:46 +00:00

16 lines
439 B
Nix

{stdenv, fetchurl, zlib, sslSupport ? false, openssl ? null}:
assert sslSupport -> openssl != null;
stdenv.mkDerivation {
name = "curl-7.15.4";
builder = ./builder.sh;
src = fetchurl {
url = http://curl.haxx.se/download/curl-7.15.4.tar.bz2;
md5 = "d9345a55c8bc67eafcd37fa1b728e00e";
};
buildInputs = [zlib (if sslSupport then openssl else null)];
patches = [./configure-cxxcpp.patch];
inherit sslSupport openssl;
}