1{ lib, fetchCrate, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "cargo-deps";
5 version = "1.5.0";
6
7 src = fetchCrate {
8 inherit pname version;
9 sha256 = "sha256-0zK1qwu+awZGd9hgH2WRrzJMzwpI830Lh//P0wVp6Js=";
10 };
11
12 cargoSha256 = "sha256-ZPQIt+TL1OKX3Ch4A17eAELjaSTo2uk+X6YWFAXvWJA=";
13
14 meta = with lib; {
15 description = "Cargo subcommand for building dependency graphs of Rust projects";
16 homepage = "https://github.com/m-cat/cargo-deps";
17 license = licenses.mit;
18 maintainers = with maintainers; [ arcnmx ];
19 };
20}