about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/go-mod-graph-chart/default.nix
blob: 11f7f4c6d9cff0f65591bfa91687716eda639278 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 ];
  };
}