blob: 7cb366c5502c5aa831dd3ce2e1bb31a3276c1d57 (
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
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
version = "1.0.5";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "sha256-FWXSEGjTr2DewZ8NidzPdc6jhfNAUdV9qKyR7ZciWio=";
};
cargoSha256 = "sha256-uvTxOZPMTCd+3WQJeVfSC5mlJ487hJKs/0Dd2C8cpcM=";
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";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ xrelkd ];
};
}
|