2022-02-20 09:10:02 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2019-04-11 19:59:12 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-expand";
|
2024-03-30 21:06:00 +00:00
|
|
|
version = "1.0.81";
|
2019-04-11 19:59:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dtolnay";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-09-29 04:30:20 +00:00
|
|
|
hash = "sha256-ZOoMWvtuLDhbJu+qzVPHGTCqh2b3PHUggfxNtUW1DoU=";
|
2019-04-11 19:59:12 +00:00
|
|
|
};
|
|
|
|
|
2024-03-30 21:06:00 +00:00
|
|
|
cargoHash = "sha256-cTz9ZR+79yPqTaDqXjSlqXd7NxHDl6Q75N26z+vi7ck=";
|
2021-05-11 08:11:31 +00:00
|
|
|
|
2020-04-21 01:23:53 +00:00
|
|
|
meta = with lib; {
|
2023-09-29 04:30:20 +00:00
|
|
|
description = "Cargo subcommand to show result of macro expansion";
|
2020-03-20 21:04:25 +00:00
|
|
|
homepage = "https://github.com/dtolnay/cargo-expand";
|
2023-01-24 02:55:48 +00:00
|
|
|
changelog = "https://github.com/dtolnay/cargo-expand/releases/tag/${version}";
|
2019-04-11 19:59:12 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
2023-01-24 02:55:48 +00:00
|
|
|
maintainers = with maintainers; [ figsoda xrelkd ];
|
2023-09-29 04:30:20 +00:00
|
|
|
mainProgram = "cargo-expand";
|
2019-04-11 19:59:12 +00:00
|
|
|
};
|
|
|
|
}
|