virtctl: init at 0.52.0 (#171734)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by haslersn Sandro and committed by GitHub 1391482b 82c09e5e

+45
+43
pkgs/tools/virtualization/kubevirt/default.nix
···
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , lib 4 + , testers 5 + , kubevirt 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "kubevirt"; 10 + version = "0.52.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "kubevirt"; 14 + repo = "kubevirt"; 15 + rev = "v${version}"; 16 + sha256 = "0ldc13nypbk3r9ihbdfibpyvzyzz4m68zzb7g6cq551ks9qdiyma"; 17 + }; 18 + 19 + vendorSha256 = null; 20 + 21 + subPackages = [ "cmd/virtctl" ]; 22 + 23 + tags = [ "selinux" ]; 24 + 25 + ldflags = [ 26 + "-X kubevirt.io/client-go/version.gitCommit=v${version}" 27 + "-X kubevirt.io/client-go/version.gitTreeState=clean" 28 + "-X kubevirt.io/client-go/version.gitVersion=v${version}" 29 + ]; 30 + 31 + passthru.tests.version = testers.testVersion { 32 + package = kubevirt; 33 + command = "virtctl version --client"; 34 + version = "v${version}"; 35 + }; 36 + 37 + meta = with lib; { 38 + description = "Client tool to use advanced features such as console access"; 39 + homepage = "https://kubevirt.io/"; 40 + license = licenses.asl20; 41 + maintainers = with maintainers; [ haslersn ]; 42 + }; 43 + }
+2
pkgs/top-level/all-packages.nix
··· 1213 1214 ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { }; 1215 1216 vopono = callPackage ../tools/networking/vopono { }; 1217 1218 winbox = callPackage ../tools/admin/winbox {
··· 1213 1214 ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { }; 1215 1216 + kubevirt = callPackage ../tools/virtualization/kubevirt { }; 1217 + 1218 vopono = callPackage ../tools/networking/vopono { }; 1219 1220 winbox = callPackage ../tools/admin/winbox {