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

buildGoModule rec {
  pname = "kubectl-example";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "seredot";
    repo = pname;
    rev = "v${version}";
    sha256 = "18vp53cda93qjssxygwqp55yc80a93781839gf3138awngf731yq";
  };

  vendorSha256 = null;

  meta = with lib; {
    description = "kubectl plugin for retrieving resource example YAMLs";
    homepage = "https://github.com/seredot/kubectl-example";
    changelog = "https://github.com/seredot/kubectl-example/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = [ maintainers.bryanasdev000 ];
  };
}