2019-04-24 05:50:38 +03:00
|
|
|
{ crossenv, openssl, zlib }:
|
|
|
|
|
|
|
|
crossenv.make_derivation rec {
|
|
|
|
name = "curl-${version}";
|
|
|
|
version = "7.62.0";
|
|
|
|
|
|
|
|
cross_inputs = [ crossenv.nixpkgs.perl ];
|
|
|
|
native_inputs = [ zlib openssl ];
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-shared"
|
|
|
|
"--disable-manual"
|
|
|
|
"--disable-ldap"
|
2019-07-12 01:48:38 +03:00
|
|
|
"--with-ssl=${openssl}"
|
2019-04-24 05:50:38 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
|
|
url = "https://curl.haxx.se/download/${name}.tar.bz2";
|
|
|
|
sha256 = "084niy7cin13ba65p8x38w2xcyc54n3fgzbin40fa2shfr0ca0kq";
|
|
|
|
};
|
|
|
|
}
|