nixpkgs/pkgs/tools/networking/curl/default.nix
Armijn Hemel 193edaab22 7.15.4 -> 7.15.5
svn path=/nixpkgs/trunk/; revision=6243
2006-08-25 21:01:42 +00:00

16 lines
439 B
Nix

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