nixpkgs/pkgs/applications/networking/cluster/pluto/default.nix

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

28 lines
647 B
Nix
Raw Normal View History

2022-03-24 08:47:47 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pluto";
2022-03-30 20:28:33 +00:00
version = "5.7.0";
2022-03-24 08:47:47 +00:00
src = fetchFromGitHub {
owner = "FairwindsOps";
repo = "pluto";
rev = "v${version}";
2022-03-30 20:28:33 +00:00
sha256 = "sha256-/H8/wpDqlo96qb6QBIxpIGMv6VtK/nn/GwozIJjZyNY=";
2022-03-24 08:47:47 +00:00
};
2022-03-30 20:28:33 +00:00
vendorSha256 = "sha256-jPVlHyKZ1ygF08OypXOMzHBfb2z5mhg5B8zJmAcQbLk=";
2022-03-24 08:47:47 +00:00
ldflags = [
"-w" "-s"
"-X main.version=v${version}"
];
meta = with lib; {
homepage = "https://github.com/FairwindsOps/pluto";
description = "Find deprecated Kubernetes apiVersions";
license = licenses.asl20;
maintainers = with maintainers; [ peterromfeldhk ];
};
}