Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "kubectl-example"; 9 version = "1.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "seredot"; 13 repo = "kubectl-example"; 14 rev = "v${version}"; 15 hash = "sha256-YvB4l+7GLSyYWX2Fbk4gT2WLaQpNxeV0aHY3Pg+9LCM="; 16 }; 17 18 vendorHash = null; 19 20 meta = { 21 description = "kubectl plugin for retrieving resource example YAMLs"; 22 mainProgram = "kubectl-example"; 23 homepage = "https://github.com/seredot/kubectl-example"; 24 changelog = "https://github.com/seredot/kubectl-example/releases/tag/v${version}"; 25 license = lib.licenses.asl20; 26 maintainers = [ lib.maintainers.bryanasdev000 ]; 27 }; 28}