32 lines
961 B
Nix
32 lines
961 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nova";
|
|
version = "3.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FairwindsOps";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-3bSxMb/JFIy3b6N/94cXfGlUbPIm046O9m2KPan8YIs=";
|
|
};
|
|
|
|
vendorHash = "sha256-c30B8Wjvwp4NnB1P8h4/raGiGAX/cbTZ/KQqh/qeNhA=";
|
|
|
|
ldflags = [ "-X main.version=${version}" "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Find outdated or deprecated Helm charts running in your cluster";
|
|
mainProgram = "nova";
|
|
longDescription = ''
|
|
Nova scans your cluster for installed Helm charts, then
|
|
cross-checks them against all known Helm repositories. If it
|
|
finds an updated version of the chart you're using, or notices
|
|
your current version is deprecated, it will let you know.
|
|
'';
|
|
homepage = "https://nova.docs.fairwinds.com/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ qjoly ];
|
|
};
|
|
}
|