nixpkgs/pkgs/applications/networking/cluster/helm-docs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
726 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "helm-docs";
2023-09-23 06:03:34 +00:00
version = "1.11.2";
src = fetchFromGitHub {
owner = "norwoodj";
repo = "helm-docs";
rev = "v${version}";
2023-09-23 06:03:34 +00:00
hash = "sha256-w4QV96/02Pbs/l0lTLPYY8Ag21ZDDVPdgvuveiKUCoM=";
};
2023-09-09 02:21:36 +00:00
vendorHash = "sha256-6byD8FdeqdRDNUZFZ7FUUdyTuFOO8s3rb6YPGKdwLB8=";
subPackages = [ "cmd/helm-docs" ];
ldflags = [
"-w"
"-s"
2023-05-02 09:53:48 +00:00
"-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 ];
};
}