mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
40 lines
1014 B
Nix
40 lines
1014 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "nova";
|
|
version = "3.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FairwindsOps";
|
|
repo = "nova";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-eIsysSJw090BdGNG/5rPqwCE7Ci2HiKWEw+Gx9UXHYQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-nXzJkcUbIGVxnuyx51NeXOI9Y/D/Fg/TkmrH7MLYzfQ=";
|
|
|
|
ldflags = [
|
|
"-X main.version=${finalAttrs.version}"
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
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 = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ qjoly ];
|
|
};
|
|
})
|