Skip to content

Commit

Permalink
imgpkg: init at 0.43.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BenChand committed Sep 23, 2024
1 parent 9ebd4ee commit 1ab344b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/im/imgpkg/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
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";
};
}

0 comments on commit 1ab344b

Please sign in to comment.