mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #172695 from haslersn/virtctl-v0.53.0
kubevirt: 0.52.0 -> 0.53.0
This commit is contained in:
commit
a4dd566f2c
@ -1,5 +1,6 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, lib
|
||||
, testers
|
||||
, kubevirt
|
||||
@ -7,13 +8,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubevirt";
|
||||
version = "0.52.0";
|
||||
version = "0.53.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubevirt";
|
||||
repo = "kubevirt";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ldc13nypbk3r9ihbdfibpyvzyzz4m68zzb7g6cq551ks9qdiyma";
|
||||
sha256 = "11581mp4fjqmpy3zn9mjq651ijsxmffz9vpvbn4b5gcs9xzgr1fw";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
@ -28,6 +29,15 @@ buildGoModule rec {
|
||||
"-X kubevirt.io/client-go/version.gitVersion=v${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd virtctl \
|
||||
--bash <($out/bin/virtctl completion bash) \
|
||||
--fish <($out/bin/virtctl completion fish) \
|
||||
--zsh <($out/bin/virtctl completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = kubevirt;
|
||||
command = "virtctl version --client";
|
||||
|
@ -1153,6 +1153,8 @@ with pkgs;
|
||||
|
||||
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
|
||||
|
||||
kubevirt = callPackage ../tools/virtualization/kubevirt { };
|
||||
|
||||
license-generator = callPackage ../tools/misc/license-generator { };
|
||||
|
||||
linux-router = callPackage ../tools/networking/linux-router { };
|
||||
@ -1197,8 +1199,6 @@ with pkgs;
|
||||
|
||||
ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { };
|
||||
|
||||
kubevirt = callPackage ../tools/virtualization/kubevirt { };
|
||||
|
||||
vopono = callPackage ../tools/networking/vopono { };
|
||||
|
||||
winbox = callPackage ../tools/admin/winbox {
|
||||
|
Loading…
Reference in New Issue
Block a user