Unverified Commit 4d88dae1 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

kustomize-lint: init at 1.0.0 (#475092)

parents 3ca6fffc cd55958f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -16384,6 +16384,17 @@
    githubId = 36074738;
    name = "MasterEvarior";
  };
  matanyall = {
    email = "matanya@loewenthal.net";
    github = "matanyall";
    githubId = 28307422;
    name = "Matanya Loewenthal";
    keys = [
      {
        fingerprint = "50E3 E2DF 756A 1C25 9AAF  C1B8 1B48 7B28 582B 9C51";
      }
    ];
  };
  matdibu = {
    email = "contact@mateidibu.dev";
    github = "matdibu";
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  kustomize-lint,
  testers,
}:

buildGoModule rec {
  pname = "kustomize-lint";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "groq";
    repo = "kustomize-lint";
    tag = "v${version}";
    hash = "sha256-zVtF66A7w0RtEzZ9MNA4dqgxQUtpiUqcmnjslm4NxaE=";
  };

  vendorHash = "sha256-hCj3fmtt2lyD9ieGVPI1UXY1eDwBXEywOumzGJ+trXE=";

  subPackages = [ "cmd/kustomize-lint" ];

  ldflags = [
    "-s"
    "-w"
  ];

  passthru.tests.version = testers.testVersion {
    package = kustomize-lint;
    command = "kustomize-lint --version";
  };

  meta = {
    description = "Linter for Kustomize configuration files";
    homepage = "https://github.com/groq/kustomize-lint";
    changelog = "https://github.com/groq/kustomize-lint/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ matanyall ];
    mainProgram = "kustomize-lint";
  };
}