mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
9d27c94bda
with SSL support. svn path=/nixpkgs/trunk/; revision=5144
16 lines
444 B
Nix
16 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;
|
|
}
|