diff --git a/pkgs/development/tools/ko/default.nix b/pkgs/development/tools/ko/default.nix index f7add96fbad9..490ea3241049 100644 --- a/pkgs/development/tools/ko/default.nix +++ b/pkgs/development/tools/ko/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "ko"; - version = "0.11.2"; + version = "0.12.0"; src = fetchFromGitHub { - owner = "google"; + owner = "ko-build"; repo = pname; rev = "v${version}"; - sha256 = "sha256-BwK49dSt3D2BrYvluDOBYIH5qEt59HC1hssHl1D2Heg="; + sha256 = "sha256-hhPV40e5wB2/VcdigqgjffDW4X1ZDddXTZiCUBijtHQ="; }; vendorSha256 = null; @@ -36,6 +36,10 @@ buildGoModule rec { # resolves some complaints from ko export GOROOT="$(go env GOROOT)" git init + + # ko tests will fail if any of those env are set, as ko tries + # to make sure it can build and target multiple GOOS/GOARCH + unset GOOS GOARCH GOARM ''; postInstall = '' @@ -46,8 +50,8 @@ buildGoModule rec { ''; meta = with lib; { - homepage = "https://github.com/google/ko"; - changelog = "https://github.com/google/ko/releases/tag/v${version}"; + 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"; longDescription = '' ko is a simple, fast container image builder for Go applications. @@ -56,6 +60,6 @@ buildGoModule rec { ko also includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications. ''; license = licenses.asl20; - maintainers = with maintainers; [ nickcao jk ]; + maintainers = with maintainers; [ nickcao jk vdemeester ]; }; }