From 238a2f85cf6a2a610acd02791fdf5acc9f1f701a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 4 Sep 2023 13:00:17 +0200 Subject: [PATCH] kraft: 0.6.4 -> 0.6.6 Diff: https://github.com/unikraft/kraftkit/compare/v0.6.4...0.6.6 --- pkgs/applications/virtualization/kraft/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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";