clusterlint: init at 0.12.0 (#421462)

authored by Aleksana and committed by GitHub ee162f36 4ed0014d

+37
+37
pkgs/by-name/cl/clusterlint/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + versionCheckHook, 6 + }: 7 + 8 + buildGoModule (finalAttrs: { 9 + pname = "clusterlint"; 10 + version = "0.12.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "digitalocean"; 14 + repo = "clusterlint"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-R6Dm7raIYxpulVtadU5AsSwCd5waOBOJRdD3o2vgGM4="; 17 + }; 18 + 19 + vendorHash = null; 20 + 21 + ldflags = [ "-X main.Version=${finalAttrs.version}" ]; 22 + 23 + # One subpackage fails to build 24 + excludedPackages = [ "example-plugin" ]; 25 + 26 + nativeInstallCheckInputs = [ versionCheckHook ]; 27 + doInstallCheck = true; 28 + 29 + meta = { 30 + description = "Best practices checker for Kubernetes clusters"; 31 + homepage = "https://github.com/digitalocean/clusterlint"; 32 + changelog = "https://github.com/digitalocean/clusterlint/releases/tag/v${finalAttrs.version}"; 33 + license = lib.licenses.asl20; 34 + maintainers = with lib.maintainers; [ jherland ]; 35 + mainProgram = "clusterlint"; 36 + }; 37 + })