nixpkgs/pkgs/applications/networking/cluster/kubectl-example/default.nix
2023-06-30 02:43:28 +00:00

24 lines
628 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-example";
version = "1.2.0";
src = fetchFromGitHub {
owner = "seredot";
repo = pname;
rev = "v${version}";
hash = "sha256-YvB4l+7GLSyYWX2Fbk4gT2WLaQpNxeV0aHY3Pg+9LCM=";
};
vendorHash = 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 ];
};
}