mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +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.
24 lines
628 B
Nix
24 lines
628 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubectl-evict-pod";
|
|
version = "0.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rajatjindal";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-alU1c1ppn4cQi582kcA/PIAJJt73i3uG02cQvSYij1A=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules";
|
|
mainProgram = "kubectl-evict-pod";
|
|
homepage = "https://github.com/rajatjindal/kubectl-evict-pod";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.j4m3s ];
|
|
};
|
|
}
|