blob: 15c8706601f57f238618829d43e555d7f752afda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
version = "1.0.80";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "sha256-qK3ZpcY/kxOaRcmlD6AUkd4BVjX8ZcFz8NG60oHh5qo=";
};
cargoHash = "sha256-c2h/ij2fWpJMoq8d60l2Ujw7Xnw8q39GmDlcPffpjMU=";
meta = with lib; {
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
mainProgram = "cargo-expand";
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 ];
};
}
|