2021-11-06 02:58:17 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "helm-docs";
|
2022-01-19 22:35:26 +00:00
|
|
|
version = "1.7.0";
|
2021-11-06 02:58:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "norwoodj";
|
|
|
|
repo = "helm-docs";
|
|
|
|
rev = "v${version}";
|
2022-01-19 22:35:26 +00:00
|
|
|
sha256 = "sha256-TXwEVyRYRiVqCDL7IR+DIu1iKqaq81W5xkvz+laxVek=";
|
2021-11-06 02:58:17 +00:00
|
|
|
};
|
|
|
|
|
2022-01-19 22:35:26 +00:00
|
|
|
vendorSha256 = "sha256-XTV0gyUWe6G5gxucsXOaDOUQoKMCfhrWzlKwUOaA6y4=";
|
2021-11-06 02:58:17 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/helm-docs" ];
|
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
"-X main.version=v${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/norwoodj/helm-docs";
|
|
|
|
description = "A tool for automatically generating markdown documentation for Helm charts";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|