diff options
author | xrelkd <46590321+xrelkd@users.noreply.github.com> | 2019-04-12 03:59:12 +0800 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2019-04-11 21:59:12 +0200 |
commit | 6efb05a5735c34acb86833eaf445b56f54a5e18b (patch) | |
tree | 2b989be1249ff691d47080d5d11035b0891e00b5 /pkgs/development/tools | |
parent | c2b1f0079fa007be6383cef1da67a67282459a3d (diff) | |
download | nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar.gz nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar.bz2 nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar.lz nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar.xz nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.tar.zst nixlib-6efb05a5735c34acb86833eaf445b56f54a5e18b.zip |
cargo-expand: init at 0.4.10 (#59199)
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/cargo-expand/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-expand/default.nix b/pkgs/development/tools/rust/cargo-expand/default.nix new file mode 100644 index 000000000000..ab88aff0ea11 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-expand/default.nix @@ -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 ]; + }; +} |