mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #44978 from alyssais/cargo-download
cargo-download: init at 0.1.1
This commit is contained in:
commit
0402f04b9b
3138
pkgs/tools/package-management/cargo-download/Cargo.nix
Normal file
3138
pkgs/tools/package-management/cargo-download/Cargo.nix
Normal file
File diff suppressed because it is too large
Load Diff
11
pkgs/tools/package-management/cargo-download/default.nix
Normal file
11
pkgs/tools/package-management/cargo-download/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user