about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/cluster/kubexit/default.nix
blob: bf086de6d78b845756ac0edac5572698c985e56f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "kubexit";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "karlkfi";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-Kzom+/Xad6SI9czw4xvmTbJ+bNB9mF2oSq37IFn384U=";
  };

  vendorHash = "sha256-RA3+S5Pad+4mNUgcZ2Z0K0FKA3Za5o1ko049GM4yQQ8=";
  ldflags = [ "-s" "-w" ];
  meta = with lib; {
    description = "Command supervisor for coordinated Kubernetes pod container termination.";
    homepage = "https://github.com/karlkfi/kubexit/";
    license = licenses.asl20;
    maintainers = with maintainers; [ qjoly ];
  };
}