1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/tools/rust/cargo-expand/default.nix

24 lines
658 B
Nix
Raw Normal View History

2020-04-21 02:23:53 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
2019-04-11 20:59:12 +01:00
rustPlatform.buildRustPackage rec {
pname = "cargo-expand";
2020-07-31 17:08:09 +01:00
version = "1.0.0";
2019-04-11 20:59:12 +01:00
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
2020-07-31 17:08:09 +01:00
sha256 = "0bdv6h3mzmv46pdyvwl0v0bg719dlsxlx378ws6vgi1cga24g37i";
2019-04-11 20:59:12 +01:00
};
2020-07-31 17:08:09 +01:00
cargoSha256 = "0qpihfgfqxw5fyhn124c5lbfaxr717bqf8mrbagh3vdgvk75j0qz";
2019-08-11 16:06:47 +01:00
2020-04-21 02:23:53 +01:00
meta = with lib; {
description =
"A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
2020-03-20 21:04:25 +00:00
homepage = "https://github.com/dtolnay/cargo-expand";
2019-04-11 20:59:12 +01:00
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ xrelkd ];
};
}