mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
33 lines
697 B
Nix
33 lines
697 B
Nix
{
|
|
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";
|
|
};
|
|
}
|