okteto: 2.12.1 -> 2.13.0

This commit is contained in:
Aaron Jheng 2023-03-01 11:06:39 +00:00
parent 17c8670473
commit 02a422b700
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, okteto }:
buildGoModule rec {
pname = "okteto";
version = "2.12.1";
version = "2.13.0";
src = fetchFromGitHub {
owner = "okteto";
repo = "okteto";
rev = version;
hash = "sha256-5HAXcFD53VJ+OpmpStKIazoqztAyeqsdRfJy0ctocEk=";
hash = "sha256-0fgxDUCgjYzrWflsoCGe4WRy3C/NO7FmrSw/LJ/NiUE=";
};
vendorHash = "sha256-Yi+4fGCHLH/kA4DuPI2uQ/27xhMd4cPFkTWlI6Bc13A=";
vendorHash = "sha256-d5z6uuUOHUjARIiRTVJmdQ+9VBaercIcUrcgDsN1zCs=";
postPatch = ''
# Disable some tests that need file system & network access.
@ -40,6 +40,11 @@ buildGoModule rec {
--zsh <($out/bin/okteto completion zsh)
'';
passthru.tests.version = testers.testVersion {
package = okteto;
command = "HOME=$(mktemp -d) okteto version";
};
meta = with lib; {
description = "Develop your applications directly in your Kubernetes Cluster";
homepage = "https://okteto.com/";