fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
27 lines
731 B
Nix
27 lines
731 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-expand";
|
|
version = "1.0.88";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dtolnay";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-H0KgtiBxafmk2PSIxnlhzRgqt5zVfk59qWnc4iDTL0k=";
|
|
};
|
|
|
|
cargoHash = "sha256-UtXsUaJB7PY7FQaHu3EKZnbGjajW9e/WtK23fF0fU4c=";
|
|
|
|
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";
|
|
};
|
|
}
|