2022-09-23 15:52:43 +02:00
|
|
|
{ lib, rustPlatform, fetchCrate }:
|
2021-11-14 18:34:19 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-depgraph";
|
2022-11-24 16:38:46 +01:00
|
|
|
version = "1.4.0";
|
2021-11-14 18:34:19 +01:00
|
|
|
|
2022-09-23 15:52:43 +02:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2022-11-24 16:38:46 +01:00
|
|
|
sha256 = "sha256-D8g6xsmYvN1IWUFpkpo4/OKT70WqCCkRqcGFBOE8uXA=";
|
2021-11-14 18:34:19 +01:00
|
|
|
};
|
|
|
|
|
2022-11-24 16:38:46 +01:00
|
|
|
cargoSha256 = "sha256-qpd/uvnQzrPc+dbBloxyYNCEjaRWlTicgNC8Z9Z0t88=";
|
2021-11-14 18:34:19 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Create dependency graphs for cargo projects using `cargo metadata` and graphviz";
|
|
|
|
homepage = "https://sr.ht/~jplatte/cargo-depgraph";
|
|
|
|
changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/v${version}/item/CHANGELOG.md";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|