mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
28 lines
646 B
Nix
28 lines
646 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pluto";
|
|
version = "5.13.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FairwindsOps";
|
|
repo = "pluto";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-6kbfsqhALf7LFl0GS4VAMTVDFKP+CaEr6IPfpTZ33Fo=";
|
|
};
|
|
|
|
vendorHash = "sha256-lXW1yHrGLwZdhfkMLeu7zm0w2HxXk1DW+QEY+rfGZpE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|