{ lib , rustPlatform , fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "cargo-expand"; version = "1.0.70"; src = fetchFromGitHub { owner = "dtolnay"; repo = pname; rev = version; sha256 = "sha256-Fnxe53YOoCiW9hIPU7dWpJoA/PnfnvRPkHiWM+4yMu8="; }; cargoHash = "sha256-zbn3pfU8r3p3Czetjg2ueItaMtYyPhksNIe7EdxJdLU="; meta = with lib; { description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code"; 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 ]; }; }