d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
26 lines
742 B
Nix
26 lines
742 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-expand";
|
|
version = "1.0.64";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dtolnay";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-8DBkF2JRrsrZTW6gNBiUyVpwFvOpoZnm2vsR4O/6c6c=";
|
|
};
|
|
|
|
cargoHash = "sha256-r5qRxc8Jt5OBWCiBhFs8zPoxbuercsQ7gw5FfOKH3ow=";
|
|
|
|
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 ];
|
|
};
|
|
}
|