diff --git a/pkgs/applications/networking/cluster/vcluster/default.nix b/pkgs/by-name/vc/vcluster/package.nix similarity index 76% rename from pkgs/applications/networking/cluster/vcluster/default.nix rename to pkgs/by-name/vc/vcluster/package.nix index f3a7ccccf5df..bee814c8a0ca 100644 --- a/pkgs/applications/networking/cluster/vcluster/default.nix +++ b/pkgs/by-name/vc/vcluster/package.nix @@ -1,14 +1,23 @@ -{ lib, go, buildGoModule, fetchFromGitHub, installShellFiles, testers, vcluster }: +{ + buildGoModule, + fetchFromGitHub, + go, + installShellFiles, + lib, + nix-update-script, + testers, + vcluster, +}: buildGoModule rec { pname = "vcluster"; - version = "0.19.6"; + version = "0.19.7"; src = fetchFromGitHub { owner = "loft-sh"; repo = "vcluster"; rev = "v${version}"; - hash = "sha256-yW+GaMEfgkeBEGHG7heo8gZcFQuAXmn3rlBPBrlbyvM="; + hash = "sha256-sO/kpbzoAy4ohmLZ3Q7+HzoC0NoK2y0qkJ6Ib8TlEns="; }; vendorHash = null; @@ -16,7 +25,8 @@ buildGoModule rec { subPackages = [ "cmd/vclusterctl" ]; ldflags = [ - "-s" "-w" + "-s" + "-w" "-X main.version=${version}" "-X main.goVersion=${lib.getVersion go}" ]; @@ -45,6 +55,8 @@ buildGoModule rec { command = "vcluster --version"; }; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/loft-sh/vcluster/releases/tag/v${version}"; description = "Create fully functional virtual Kubernetes clusters"; @@ -52,6 +64,11 @@ buildGoModule rec { homepage = "https://www.vcluster.com/"; license = lib.licenses.asl20; mainProgram = "vcluster"; - maintainers = with lib.maintainers; [ berryp peterromfeldhk qjoly superherointj ]; + maintainers = with lib.maintainers; [ + berryp + peterromfeldhk + qjoly + superherointj + ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c4e1e27ac3d5..c6e3e52685c6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39568,8 +39568,6 @@ with pkgs; tewi-font = callPackage ../data/fonts/tewi { }; - vcluster = callPackage ../applications/networking/cluster/vcluster { }; - sshportal = callPackage ../servers/sshportal { }; ssh-audit = callPackage ../tools/security/ssh-audit { };