2025-08-11 02:16:04 +00:00

39 lines
757 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "pluto";
version = "5.22.3";
src = fetchFromGitHub {
owner = "FairwindsOps";
repo = "pluto";
rev = "v${version}";
hash = "sha256-7INiYL8ymry2HKPIYVWSEiJccUyntVZQM7mM1WTt6Ww=";
};
vendorHash = "sha256-59mRVfQ2rduTvIJE1l/j3K+PY3OEMfNpjjYg3hqNUhs=";
ldflags = [
"-w"
"-s"
"-X main.version=v${version}"
];
__darwinAllowLocalNetworking = true; # for tests
meta = with lib; {
homepage = "https://github.com/FairwindsOps/pluto";
description = "Find deprecated Kubernetes apiVersions";
mainProgram = "pluto";
license = licenses.asl20;
maintainers = with maintainers; [
peterromfeldhk
kashw2
];
};
}