mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-24 22:20:17 +02:00
cargo-expand: init at 0.4.10 (#59199)
This commit is contained in:
parent
c2b1f0079f
commit
6efb05a573
23
pkgs/development/tools/rust/cargo-expand/default.nix
Normal file
23
pkgs/development/tools/rust/cargo-expand/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-expand";
|
||||
version = "0.4.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dtolnay";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1f90v67clmql2bb32sgs7c48q8nhyw2pfk4hpkiy8qll8fypjgik";
|
||||
};
|
||||
|
||||
cargoSha256 = "042s28p68jz3my2q1crmq7xzcajwxmcprgg9z7r9ffhrybk4jvwz";
|
||||
|
||||
meta = with stdenv.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 ];
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ xrelkd ];
|
||||
};
|
||||
}
|
|
@ -7715,6 +7715,7 @@ in
|
|||
cargo-asm = callPackage ../development/tools/rust/cargo-asm {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
||||
cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { };
|
||||
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue