ko: 0.15.4 -> 0.17.1

This commit is contained in:
Michael Vittrup Larsen
2025-03-29 17:55:26 +01:00
parent e3be08c224
commit 1d55f6e650
+9 -7
View File
@@ -9,22 +9,24 @@
buildGo123Module rec {
pname = "ko";
version = "0.15.4";
version = "0.17.1";
src = fetchFromGitHub {
owner = "ko-build";
repo = pname;
tag = "v${version}";
hash = "sha256-MeFoy2WoPsJIgUhpzt/4sEP6J9lM4nsSAK2VZiTS7jo=";
hash = "sha256-OQtYyokARrjaf0MWQ0sMqJPb+C5pRkKFumAmtxS4SBo=";
};
vendorHash = "sha256-n/NbbitSyjl05gESPVG3Uv2ek1U0Cd2fQqcxBhDKULU=";
vendorHash = "sha256-YQggwX6fUsfZMM+GdgeNAIHkfX84FMF84xHsP/SNiS4=";
nativeBuildInputs = [ installShellFiles ];
# Pin so that we don't build the several other development tools
subPackages = ".";
env.CGO_ENABLED = 0;
ldflags = [
"-s"
"-w"
@@ -32,8 +34,8 @@ buildGo123Module rec {
];
checkFlags = [
# requires docker daemon
"-skip=TestNewPublisherCanPublish"
# requires docker daemon, pulls and builds delve debugger
"-skip=(TestNewPublisherCanPublish|TestDebugger)"
];
nativeCheckInputs = [ gitMinimal ];
@@ -64,13 +66,13 @@ buildGo123Module rec {
meta = with lib; {
homepage = "https://github.com/ko-build/ko";
changelog = "https://github.com/ko-build/ko/releases/tag/v${version}";
description = "Build and deploy Go applications on Kubernetes";
description = "Build and deploy Go applications";
mainProgram = "ko";
longDescription = ''
ko is a simple, fast container image builder for Go applications.
It's ideal for use cases where your image contains a single Go application without any/many dependencies on the OS base image (e.g. no cgo, no OS package dependencies).
ko builds images by effectively executing go build on your local machine, and as such doesn't require docker to be installed. This can make it a good fit for lightweight CI/CD use cases.
ko also includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.
ko makes multi-platform builds easy, produces SBOMs by default, and includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.
'';
license = licenses.asl20;
maintainers = with maintainers; [