eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
27 lines
748 B
Nix
27 lines
748 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-deps";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m-cat";
|
|
repo = pname;
|
|
rev = "ab93f5655900e49fb0360ccaf72b2b61b6b428ef";
|
|
sha256 = "16181p7ghvy9mqippg1xi2cw7yxvicis8v6n39wly5qw05i57aw2";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1a9svdw1cgk6s7gqpsq3r25wxa2gr2xddqkc1cjk7hf6sk327cpv";
|
|
|
|
meta = with lib; {
|
|
description = "Cargo subcommand for building dependency graphs of Rust projects";
|
|
homepage = https://github.com/m-cat/cargo-deps;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|