5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
26 lines
742 B
Nix
26 lines
742 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-expand";
|
|
version = "1.0.72";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dtolnay";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-W9mrqF5zQWvCEsgm3fNPG0p/ZHgL1agTAfYW1t9tajo=";
|
|
};
|
|
|
|
cargoHash = "sha256-4gV69Ld60hBErfVXgrKfoeI6QrnYrg6w5hHqRufUlG8=";
|
|
|
|
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 ];
|
|
};
|
|
}
|