build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / by-name / ca / cargo-expand / package.nix
blob5a3bfaf457f413be0df0297cf8644fb08340b93d
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "cargo-expand";
9   version = "1.0.96";
11   src = fetchFromGitHub {
12     owner = "dtolnay";
13     repo = pname;
14     rev = version;
15     hash = "sha256-uLJ7XD1m4KreIue+p6Duoa8+DYjhaHagDMmPKcvHZ0I=";
16   };
18   cargoHash = "sha256-XAkEcd/QDw1SyrPuuk5ojqlKHiG28DgdipbKtnlWsGg=";
20   meta = with lib; {
21     description = "Cargo subcommand to show result of macro expansion";
22     homepage = "https://github.com/dtolnay/cargo-expand";
23     changelog = "https://github.com/dtolnay/cargo-expand/releases/tag/${version}";
24     license = with licenses; [
25       mit
26       asl20
27     ];
28     maintainers = with maintainers; [
29       figsoda
30       xrelkd
31     ];
32     mainProgram = "cargo-expand";
33   };