mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 22:24:40 +00:00
24 lines
628 B
Nix
24 lines
628 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubectl-evict-pod";
|
|
version = "0.0.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rajatjindal";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Z1NIueonjyO2GHulBbXbsQtX7V/Z95GUoZv9AqjLIR0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|