btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / no / nova / package.nix
blobb8a5f1d9e3c7481d93b0015018f2cf5aef93c473
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "nova";
5   version = "3.11";
7   src = fetchFromGitHub {
8     owner = "FairwindsOps";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-gkEUc2mhm1r69XzAnglLhdyYI4jQ24oEk/NRMgeyw60=";
12   };
14   vendorHash = "sha256-v3ld3bHpVWNJgQ6K5iS7q8QV4ft4RE42wKi+f4++yqY=";
16   ldflags = [ "-X main.version=${version}" "-s" "-w" ];
18   meta = with lib; {
19     description = "Find outdated or deprecated Helm charts running in your cluster";
20     mainProgram = "nova";
21     longDescription = ''
22       Nova scans your cluster for installed Helm charts, then
23       cross-checks them against all known Helm repositories. If it
24       finds an updated version of the chart you're using, or notices
25       your current version is deprecated, it will let you know.
26     '';
27     homepage = "https://nova.docs.fairwinds.com/";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ qjoly ];
30   };