Merge pull request #44978 from alyssais/cargo-download

cargo-download: init at 0.1.1
This commit is contained in:
xeji 2018-09-04 15:36:53 +02:00 committed by GitHub
commit 0402f04b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3150 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
{ stdenv, lib, fetchgit, darwin, buildPlatform
, buildRustCrate, defaultCrateOverrides }:
((import ./Cargo.nix { inherit lib buildPlatform buildRustCrate fetchgit; }).cargo_download {}).override {
crateOverrides = defaultCrateOverrides // {
cargo-download = attrs: {
buildInputs = lib.optional stdenv.isDarwin
darwin.apple_sdk.frameworks.Security;
};
};
}

View File

@ -7187,6 +7187,7 @@ with pkgs;
};
});
cargo-download = callPackage ../tools/package-management/cargo-download { };
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
cargo-release = callPackage ../tools/package-management/cargo-release { };
cargo-tree = callPackage ../tools/package-management/cargo-tree { };