mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
1442e8ec22
svn path=/nixpkgs/trunk/; revision=6711
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.5";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/curl-7.15.5.tar.bz2;
|
|
md5 = "594142c7d53bbdd988e8cef6354eeeff";
|
|
};
|
|
buildInputs = [zlib (if sslSupport then openssl else null)];
|
|
patches = [./configure-cxxcpp.patch];
|
|
inherit sslSupport openssl;
|
|
}
|