nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gotree";
9 version = "1.4.3";
10
11 src = fetchFromGitHub {
12 owner = "elbachir-one";
13 repo = "gt";
14 rev = "v${version}";
15 hash = "sha256-0wYuIaGkJHSD8La1yfBYNPDB8ETtID8e5lgahqQgjLM=";
16 };
17
18 vendorHash = null;
19
20 meta = {
21 description = "Display a tree of files and directories";
22 homepage = "https://github.com/elbachir-one/gt";
23 changelog = "https://github.com/elbachir-one/gt/releases/tag/v${version}";
24 license = lib.licenses.bsd3;
25 mainProgram = "gt";
26 maintainers = with lib.maintainers; [ schnow265 ];
27 };
28}