cargo-expand: migrate to by-name

This commit is contained in:
xrelkd 2023-09-29 12:30:20 +08:00
parent 9b6376b040
commit 62ef721432
No known key found for this signature in database
GPG Key ID: BAB7A457C1D1D6B3
2 changed files with 3 additions and 4 deletions

View File

@ -11,17 +11,17 @@ rustPlatform.buildRustPackage rec {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "sha256-ZOoMWvtuLDhbJu+qzVPHGTCqh2b3PHUggfxNtUW1DoU=";
hash = "sha256-ZOoMWvtuLDhbJu+qzVPHGTCqh2b3PHUggfxNtUW1DoU=";
};
cargoHash = "sha256-cTz9ZR+79yPqTaDqXjSlqXd7NxHDl6Q75N26z+vi7ck=";
meta = with lib; {
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
mainProgram = "cargo-expand";
description = "Cargo subcommand to show result of macro expansion";
homepage = "https://github.com/dtolnay/cargo-expand";
changelog = "https://github.com/dtolnay/cargo-expand/releases/tag/${version}";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ figsoda xrelkd ];
mainProgram = "cargo-expand";
};
}

View File

@ -16877,7 +16877,6 @@ with pkgs;
cargo-diet = callPackage ../development/tools/rust/cargo-diet { };
cargo-dist = callPackage ../development/tools/rust/cargo-dist { };
cargo-espmonitor = callPackage ../development/tools/rust/cargo-espmonitor { };
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
cargo-hakari = callPackage ../development/tools/rust/cargo-hakari { };
cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
cargo-fund = callPackage ../development/tools/rust/cargo-fund {