2023-07-15 17:15:38 +00:00
|
|
|
{ lib, rustPlatform, fetchFromSourcehut }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-depgraph";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.5.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~jplatte";
|
|
|
|
repo = "cargo-depgraph";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-q9a7O6lSsQz9nJ82uG1oNyNyNebzXEanVWh3xkypqqM=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-gmSNYxyizaVvz38R0nTdUp9nP/f4hxgHO9hVV3RFP6U=";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Create dependency graphs for cargo projects using `cargo metadata` and graphviz";
|
|
|
|
homepage = "https://sr.ht/~jplatte/cargo-depgraph";
|
2023-07-15 17:15:38 +00:00
|
|
|
changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${src.rev}/item/CHANGELOG.md";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|