diff options
Diffstat (limited to 'pkgs/development/tools/rust/cargo-deps/default.nix')
-rw-r--r-- | pkgs/development/tools/rust/cargo-deps/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-deps/default.nix b/pkgs/development/tools/rust/cargo-deps/default.nix new file mode 100644 index 0000000000000..b98a0d75793f3 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-deps/default.nix @@ -0,0 +1,20 @@ +{ lib, fetchCrate, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-deps"; + version = "1.4.1"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-WzvWkn2o39InESSzF5oLVP1I876b+r749hjZgh2DxOk="; + }; + + cargoSha256 = "15pf4x2aw8sl65g63cz4yv9y78yc2wi25h9khpqx6i7gyd7dxbsc"; + + meta = with lib; { + description = "Cargo subcommand for building dependency graphs of Rust projects"; + homepage = "https://github.com/m-cat/cargo-deps"; + license = licenses.mit; + maintainers = with maintainers; [ arcnmx ]; + }; +} |