pack: init at 0.34.2

This commit is contained in:
Pol Dellaiera 2024-07-10 12:57:32 +02:00
parent 66f66bba71
commit 40bab1ea6e
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -0,0 +1,43 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
testers,
pack,
}:
buildGoModule rec {
pname = "pack";
version = "0.34.2";
src = fetchFromGitHub {
owner = "buildpacks";
repo = "pack";
rev = "v${version}";
hash = "sha256-1s/0eBRnir2MyrDALcOi5drCIJVkrPBB4RXKX08mxKs=";
};
vendorHash = "sha256-jhgTHhiQUDf9738Zusk1SxEae9G6MQapBRq7DBN5Tuc=";
subPackages = [ "cmd/pack" ];
ldflags = [
"-s"
"-w"
"-X github.com/buildpacks/pack.Version=${version}"
];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = pack; };
};
meta = {
description = "CLI for building apps using Cloud Native Buildpacks";
homepage = "https://github.com/buildpacks/pack/";
license = lib.licenses.asl20;
mainProgram = "pack";
maintainers = with lib.maintainers; [ drupol ];
};
}