nixpkgs/pkgs/development/tools/go-mod-graph-chart/default.nix
2023-05-25 00:26:21 +08:00

30 lines
648 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "go-mod-graph-chart";
version = "0.5.3";
src = fetchFromGitHub {
owner = "PaulXu-cn";
repo = pname;
rev = "v${version}";
hash = "sha256-vitUZXQyAj72ed9Gukr/sAT/iWWMhwsxjZhf2a9CM7I=";
};
vendorHash = null;
# check requires opening webpage
doCheck = false;
meta = with lib; {
description = "A tool build chart by go mod graph output with zero dependencies";
homepage = "https://github.com/PaulXu-cn/go-mod-graph-chart";
mainProgram = "gmchart";
license = licenses.mit;
maintainers = with maintainers; [ aleksana ];
};
}