5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
27 lines
731 B
Nix
27 lines
731 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-expand";
|
|
version = "1.0.87";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dtolnay";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-sBL1/5was2qN8M2s8u443mb376ySE+T58bmdfO0XqE0=";
|
|
};
|
|
|
|
cargoHash = "sha256-DhjZMOKfXBGSF8b7OQ7l++/RKjtww+cUJDj91JW9ROY=";
|
|
|
|
meta = with lib; {
|
|
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";
|
|
};
|
|
}
|