shrub/nix/nixcrpkgs/pkgs/curl/default.nix
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

22 lines
491 B
Nix

{ 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"
];
src = crossenv.nixpkgs.fetchurl {
url = "https://curl.haxx.se/download/${name}.tar.bz2";
sha256 = "084niy7cin13ba65p8x38w2xcyc54n3fgzbin40fa2shfr0ca0kq";
};
}