2021-11-06 02:58:17 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "helm-docs";
|
2024-03-23 03:05:59 +00:00
|
|
|
version = "1.13.1";
|
2021-11-06 02:58:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "norwoodj";
|
|
|
|
repo = "helm-docs";
|
|
|
|
rev = "v${version}";
|
2024-03-23 03:05:59 +00:00
|
|
|
hash = "sha256-lSGgT+aWp4NgiIoCnR4TNdecEqIZVnKMmGtEingq05o=";
|
2021-11-06 02:58:17 +00:00
|
|
|
};
|
|
|
|
|
2024-03-23 03:05:59 +00:00
|
|
|
vendorHash = "sha256-LpARmDupT+vUPqUwFnvOGKOaBQbTuTvQnWc5Q2bGBaY=";
|
2021-11-06 02:58:17 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/helm-docs" ];
|
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
2023-05-02 09:53:48 +00:00
|
|
|
"-X main.version=${version}"
|
2021-11-06 02:58:17 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/norwoodj/helm-docs";
|
|
|
|
description = "A tool for automatically generating markdown documentation for Helm charts";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "helm-docs";
|
2021-11-06 02:58:17 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ sagikazarmark ];
|
|
|
|
};
|
|
|
|
}
|