depot/third_party/nixpkgs/pkgs/by-name/go/gotree/package.nix

28 lines
624 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gotree";
version = "1.4.1";
src = fetchFromGitHub {
owner = "elbachir-one";
repo = "gt";
rev = "v${version}";
hash = "sha256-sWKqfDWwMfj4shg/MxHu7Zr4WE5pxAzHHmsjU3jQY10=";
};
vendorHash = null;
meta = {
description = "Display a tree of files and directories";
homepage = "https://github.com/elbachir-one/gt";
changelog = "https://github.com/elbachir-one/gt/releases/tag/v${version}";
license = lib.licenses.bsd3;
mainProgram = "gt";
maintainers = with lib.maintainers; [ schnow265 ];
};
}