Merge pull request #145972 from figsoda/cargo-depgraph
cargo-depgraph: init at 1.2.2
This commit is contained in:
commit
141d3fc04f
2 changed files with 24 additions and 0 deletions
23
pkgs/development/tools/rust/cargo-depgraph/default.nix
Normal file
23
pkgs/development/tools/rust/cargo-depgraph/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, rustPlatform, fetchFromSourcehut }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-depgraph";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~jplatte";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Zt60F43hhFSj9zfAkEbgRqODvBRmzn04dHMijbz+uX0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-mMXIiAfYBqOS3z4735T9dB9TEo7Ph2JCNq0QfyetxJg=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -12819,6 +12819,7 @@ with pkgs;
|
|||
cargo-deny = callPackage ../development/tools/rust/cargo-deny {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-depgraph = callPackage ../development/tools/rust/cargo-depgraph { };
|
||||
cargo-dephell = callPackage ../development/tools/rust/cargo-dephell {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue