nixpkgs-suyu/pkgs/applications/networking/cluster/kubectl-example/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
632 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-example";
2022-01-11 17:32:13 +01:00
version = "1.1.0";
src = fetchFromGitHub {
owner = "seredot";
repo = pname;
rev = "v${version}";
2022-01-11 17:32:13 +01:00
sha256 = "sha256-7tqeIE6Ds8MrLH9k8cdzpeJP9pXVptduoEFE0zdrLlo=";
};
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 ];
};
}