-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdep-tree.nix
30 lines (25 loc) · 896 Bytes
/
dep-tree.nix
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
30
# [dep-tree](https://github.com/gabotechs/dep-tree) allows visualizing code base dependencies
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dep-tree";
version = "0.19.3";
src = fetchFromGitHub {
owner = "gabotechs";
repo = "dep-tree";
rev = "v${version}";
hash = "sha256-HEtqcbMd+HWE1lolLJtZbgJQuppDniPK8r6/SXTcJjE=";
};
vendorHash = "sha256-VtExC9pzU3lDOzmX5odyrhBZpl1qwPdDEz9axdQCx4I=";
ldflags = [ "-s" "-w" ];
doCheck = false;
meta = with lib; {
description = "Tool for helping developers keep their code bases clean and decoupled. It allows visualising a \"code base entropy\" using a 3d force-directed graph of files and the dependencies between";
homepage = "https://github.com/gabotechs/dep-tree";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
mainProgram = "dep-tree";
};
}