forked from mirrors/nixpkgs
cargo-depgraph: 1.4.0 -> 1.5.0
Changelog: https://git.sr.ht/~jplatte/cargo-depgraph/tree/v1.5.0/item/CHANGELOG.md
This commit is contained in:
parent
46114e23ff
commit
93730f925b
|
@ -1,20 +1,22 @@
|
|||
{ lib, rustPlatform, fetchCrate }:
|
||||
{ lib, rustPlatform, fetchFromSourcehut }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-depgraph";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-D8g6xsmYvN1IWUFpkpo4/OKT70WqCCkRqcGFBOE8uXA=";
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~jplatte";
|
||||
repo = "cargo-depgraph";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-q9a7O6lSsQz9nJ82uG1oNyNyNebzXEanVWh3xkypqqM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-qpd/uvnQzrPc+dbBloxyYNCEjaRWlTicgNC8Z9Z0t88=";
|
||||
cargoHash = "sha256-gmSNYxyizaVvz38R0nTdUp9nP/f4hxgHO9hVV3RFP6U=";
|
||||
|
||||
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";
|
||||
changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${src.rev}/item/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue