mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
okteto: 2.12.1 -> 2.13.0
This commit is contained in:
parent
17c8670473
commit
02a422b700
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user