mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
30 lines
730 B
Nix
30 lines
730 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "helm-docs";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "norwoodj";
|
|
repo = "helm-docs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OpS/CYBb2Ll6ktvEhqkw/bWMSrFa4duidK3Glu8EnPw=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-FpmeOQ8nV+sEVu2+nY9o9aFbCpwSShQUFOmyzwEQ9Pw=";
|
|
|
|
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 ];
|
|
};
|
|
}
|