9d27c94bda
with SSL support. svn path=/nixpkgs/trunk/; revision=5144
15 lines
444 B
Nix
15 lines
444 B
Nix
{stdenv, fetchurl, zlib, sslSupport ? false, openssl ? null}:
|
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "curl-7.15.1";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/curl-7.15.1.tar.bz2;
|
|
md5 = "d330d48580bfade58c82d4f295f171f0";
|
|
};
|
|
buildInputs = [zlib (if sslSupport then openssl else null)];
|
|
patches = [./configure-cxxcpp.patch];
|
|
inherit sslSupport openssl;
|
|
}
|