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-12-01 06:46:46 +00:00
|
|
|
version = "1.0.95";
|
2019-04-11 19:59:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dtolnay";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-12-01 06:46:46 +00:00
|
|
|
hash = "sha256-VEjgSmZcy/CZ8EO/mJ2nBOpQviF4A/QQ8SpLLF/9x4c=";
|
2019-04-11 19:59:12 +00:00
|
|
|
};
|
|
|
|
|
2024-12-01 06:46:46 +00:00
|
|
|
cargoHash = "sha256-m/F6fI1d8i5lVyURti86FWAs/U14TXpgg/nemLAv4NI=";
|
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
|
|
|
};
|
|
|
|
}
|