diff --git a/pkgs/applications/virtualization/kraft/default.nix b/pkgs/applications/virtualization/kraft/default.nix index 4d2ac7e70300..688e6eff949b 100644 --- a/pkgs/applications/virtualization/kraft/default.nix +++ b/pkgs/applications/virtualization/kraft/default.nix @@ -2,20 +2,21 @@ , buildGoModule , fetchFromGitHub , stdenv +, nix-update-script }: buildGoModule rec { pname = "kraftkit"; - version = "0.6.4"; + version = "0.6.6"; src = fetchFromGitHub { owner = "unikraft"; repo = "kraftkit"; rev = "v${version}"; - hash = "sha256-+aZrJqxgPGIoWEW4PZj6Nib7Z49HitxqMbeoyIe14iM="; + hash = "sha256-3dI3F1cCeLEOd+zusWUDZWLrVaaKHXzwOL/mF/yPZC8="; }; - vendorHash = "sha256-4V7GTqCDSHybuwIrnmO1MJ+DwMpkKOdA7UC72YJqStM="; + vendorHash = "sha256-4zciooCUNVLTQ/0tctqV3hExR5vRY5VumHzGtL8xdws="; ldflags = [ "-s" @@ -25,6 +26,12 @@ buildGoModule rec { subPackages = [ "cmd/kraft" ]; + passthru = { + updateScript = nix-update-script { + extraArgs = [ "--version-regex" "^v([0-9.]+)" ]; + }; + }; + meta = { description = "Build and use highly customized and ultra-lightweight unikernel VMs"; homepage = "https://github.com/unikraft/kraftkit";