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";
|
2024-03-19 02:14:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|