mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
678 B
Nix
29 lines
678 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pluto";
|
|
version = "5.19.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FairwindsOps";
|
|
repo = "pluto";
|
|
rev = "v${version}";
|
|
hash = "sha256-6TOHDjR5sFaIeR6Zuf4azQAIgUyev7vdlAKB7YNk8R0=";
|
|
};
|
|
|
|
vendorHash = "sha256-8ZOYp/vM16PugmE+3QK7ZRDwIwRCMEwD0NRyiOBlh14=";
|
|
|
|
ldflags = [
|
|
"-w" "-s"
|
|
"-X main.version=v${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/FairwindsOps/pluto";
|
|
description = "Find deprecated Kubernetes apiVersions";
|
|
mainProgram = "pluto";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ peterromfeldhk kashw2 ];
|
|
};
|
|
}
|