nixpkgs/pkgs/applications/networking/cluster/helm-docs/default.nix
2023-09-09 10:21:36 +08:00

30 lines
726 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "helm-docs";
version = "1.11.1";
src = fetchFromGitHub {
owner = "norwoodj";
repo = "helm-docs";
rev = "v${version}";
hash = "sha256-4o3hdqaW/AtegKStMKVerE3dRr3iZxQ+Lm2Aj3aOy98=";
};
vendorHash = "sha256-6byD8FdeqdRDNUZFZ7FUUdyTuFOO8s3rb6YPGKdwLB8=";
subPackages = [ "cmd/helm-docs" ];
ldflags = [
"-w"
"-s"
"-X main.version=${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 ];
};
}