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.

29 lines
678 B
Nix
Raw Normal View History

2022-03-24 08:47:47 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pluto";
2024-09-25 09:15:25 +00:00
version = "5.20.3";
2022-03-24 08:47:47 +00:00
src = fetchFromGitHub {
owner = "FairwindsOps";
repo = "pluto";
rev = "v${version}";
2024-09-25 09:15:25 +00:00
hash = "sha256-WbXIg453VewOejX/hyGi1DEi0cSwcQ+hKUFG8Ne4cPE=";
2022-03-24 08:47:47 +00:00
};
2024-08-21 03:56:36 +00:00
vendorHash = "sha256-VkaFANSzKOpmHWUwFp7YjwvsJegcJOrvJOBNNAIxOak=";
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";
mainProgram = "pluto";
2022-03-24 08:47:47 +00:00
license = licenses.asl20;
2023-09-11 03:37:26 +00:00
maintainers = with maintainers; [ peterromfeldhk kashw2 ];
2022-03-24 08:47:47 +00:00
};
}