diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-09-04 20:19:44 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-09-04 20:19:44 +0200 |
commit | b4cc33304856c45c4965127ea2905c7f20cb4eaa (patch) | |
tree | c654168463fae5e46c3f0e41c2bc735e27995858 /pkgs/applications/virtualization/kraft/default.nix | |
parent | 0a1690dd6bf9ed7f3d6d0caeb8036274deafcdac (diff) | |
parent | fcf38c9baca5f009ceb601353dcb1857c29d3e06 (diff) | |
download | nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.gz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.bz2 nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.lz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.xz nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.tar.zst nixpkgs-b4cc33304856c45c4965127ea2905c7f20cb4eaa.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/applications/virtualization/kraft/default.nix')
-rw-r--r-- | pkgs/applications/virtualization/kraft/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/applications/virtualization/kraft/default.nix b/pkgs/applications/virtualization/kraft/default.nix index 4d2ac7e7030..688e6eff949 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"; |