mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
28 lines
648 B
Nix
28 lines
648 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pluto";
|
|
version = "5.10.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FairwindsOps";
|
|
repo = "pluto";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FNt+e13IEpIWB6gBYWfwJ+Qu7W/cyHvV+XGNhn17rdg=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-M/D7V6v4+BlROoxhT9URuj9EI6qXYG2VoXcCVN+j6aU=";
|
|
|
|
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 ];
|
|
};
|
|
}
|