depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-depgraph/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
791 B
Nix

{ lib, rustPlatform, fetchFromSourcehut }:
rustPlatform.buildRustPackage rec {
pname = "cargo-depgraph";
version = "1.6.0";
src = fetchFromSourcehut {
owner = "~jplatte";
repo = "cargo-depgraph";
rev = "v${version}";
hash = "sha256-yvcKRESX2W1oLmQvkl07iG8+I74qDKsaS3amM4pZU8s=";
};
cargoHash = "sha256-OJOw0V4u/bK4vw3bU2wKVeOqP205ehfZMKJ6qIpYDLU=";
meta = with lib; {
description = "Create dependency graphs for cargo projects using `cargo metadata` and graphviz";
mainProgram = "cargo-depgraph";
homepage = "https://sr.ht/~jplatte/cargo-depgraph";
changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${src.rev}/item/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ figsoda matthiasbeyer ];
};
}