chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ku / kubectl-doctor / package.nix
blob670c7d0638dc59396b32d9f8f402ab1854a9f567
1 { lib, buildGoModule, fetchFromGitHub, fetchpatch }:
3 buildGoModule rec {
4   pname = "kubectl-doctor";
5   version = "0.3.1";
7   src = fetchFromGitHub {
8     owner = "emirozer";
9     repo = pname;
10     rev = version;
11     hash = "sha256-yp5OfSDxIASiCgISUVNxfe3dsLukgIoHARVPALIaQfY=";
12   };
14   patches = [
15     (fetchpatch {
16       # https://github.com/emirozer/kubectl-doctor/pull/21
17       name = "go-1.19-client-go-0.25.patch";
18       url = "https://github.com/emirozer/kubectl-doctor/commit/a987ef58063e305409034af280d688a11682dbb9.patch";
19       hash = "sha256-NQd/WxUfYwBDowhnoUWaOV8k7msiOhff3Bjux+a9R9E=";
20     })
21   ];
23   vendorHash = "sha256-qhffg/s1RZFNW0nHLbJ89yqLzdC72ARXdbSfMLJK2pQ=";
25   postInstall = ''
26     mv $out/bin/{cmd,kubectl-doctor}
27   '';
29   meta = with lib; {
30     description = "kubectl cluster triage plugin for k8s";
31     mainProgram = "kubectl-doctor";
32     homepage = "https://github.com/emirozer/kubectl-doctor";
33     changelog = "https://github.com/emirozer/kubectl-doctor/releases/tag/v${version}";
34     license = licenses.asl20;
35     maintainers = [ maintainers.zimbatm ];
36   };