summary refs log tree commit diff
path: root/pkgs/tools/package-management/cargo-deps/default.nix
blob: b5dafc544fbb55390d605b84d15bfcb7827f50f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "cargo-deps";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "m-cat";
    repo = pname;
    rev = "ab93f5655900e49fb0360ccaf72b2b61b6b428ef";
    sha256 = "16181p7ghvy9mqippg1xi2cw7yxvicis8v6n39wly5qw05i57aw2";
  };

  # Delete this on next update; see #79975 for details
  legacyCargoFetcher = true;

  cargoSha256 = "1a9svdw1cgk6s7gqpsq3r25wxa2gr2xddqkc1cjk7hf6sk327cpv";

  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 ];
    platforms = platforms.all;
  };
}