Unverified Commit 595d0428 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

imgpkg: init at 0.43.1 (#336558)

parents a6b5b8d7 1ab344b7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2514,6 +2514,12 @@
    githubId = 6145260;
    keys = [ { fingerprint = "804B 6CB8 AED5 61D9 3DAD  4DC5 E2F2 2C5E DF20 119D"; } ];
  };
  benchand = {
    name = "Ben Chand";
    email = "BenChand1995@gmail.com";
    github = "BenChand";
    githubId = 3618457;
  };
  bendlas = {
    email = "herwig@bendlas.net";
    matrix = "@bendlas:matrix.org";
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "imgpkg";
  version = "0.43.1";

  src = fetchFromGitHub {
    owner = "carvel-dev";
    repo = "imgpkg";
    rev = "v${version}";
    hash = "sha256-RjTVJjuzjNTZrg1VZ4NrDf1SZmS+CGzofYTBQEZNIag=";
  };

  vendorHash = null;

  subPackages = [ "cmd/imgpkg" ];

  CGO_ENABLED = "0";
  ldflags = [ "-X=carvel.dev/imgpkg/pkg/imgpkg/cmd.Version=${version}" ];

  meta = {
    description = "Store application configuration files in Docker/OCI registries";
    homepage = "https://carvel.dev/imgpkg";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ benchand ];
    mainProgram = "imgpkg";
  };
}