mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
791 B
Nix
25 lines
791 B
Nix
{ lib, rustPlatform, fetchFromSourcehut }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-depgraph";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~jplatte";
|
|
repo = "cargo-depgraph";
|
|
rev = "v${version}";
|
|
hash = "sha256-q9a7O6lSsQz9nJ82uG1oNyNyNebzXEanVWh3xkypqqM=";
|
|
};
|
|
|
|
cargoHash = "sha256-gmSNYxyizaVvz38R0nTdUp9nP/f4hxgHO9hVV3RFP6U=";
|
|
|
|
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 ];
|
|
};
|
|
}
|