libkrunfw: 4.9.0 -> 4.10.0

Diff: https://github.com/containers/libkrunfw/compare/v4.9.0...v4.10.0

Nick Cao 766cbeb0 de2fd966

+21 -12
+1 -1
pkgs/by-name/li/libkrun/package.nix
··· 60 ++ lib.optional (sevVariant || withGpu) pkg-config; 61 62 buildInputs = [ 63 - (libkrunfw.override { inherit sevVariant; }) 64 glibc 65 glibc.static 66 ]
··· 60 ++ lib.optional (sevVariant || withGpu) pkg-config; 61 62 buildInputs = [ 63 + (libkrunfw.override { variant = if sevVariant then "sev" else null; }) 64 glibc 65 glibc.static 66 ]
+20 -11
pkgs/by-name/li/libkrunfw/package.nix
··· 10 perl, 11 elfutils, 12 python3, 13 - sevVariant ? false, 14 }: 15 16 stdenv.mkDerivation (finalAttrs: { 17 - pname = "libkrunfw"; 18 - version = "4.9.0"; 19 20 src = fetchFromGitHub { 21 owner = "containers"; 22 repo = "libkrunfw"; 23 tag = "v${finalAttrs.version}"; 24 - hash = "sha256-wmvjex68Mh7qehA33WNBYHhV9Q/XWLixokuGWnqJ3n0="; 25 }; 26 27 kernelSrc = fetchurl { 28 - url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.20.tar.xz"; 29 - hash = "sha256-Iw6JsHsKuC508H7MG+4xBdyoHQ70qX+QCSnEBySbasc="; 30 }; 31 32 postPatch = '' ··· 51 makeFlags = [ 52 "PREFIX=${placeholder "out"}" 53 ] 54 - ++ lib.optionals sevVariant [ 55 "SEV=1" 56 ]; 57 58 # Fixes https://github.com/containers/libkrunfw/issues/55 ··· 60 61 enableParallelBuilding = true; 62 63 - meta = with lib; { 64 description = "Dynamic library bundling the guest payload consumed by libkrun"; 65 homepage = "https://github.com/containers/libkrunfw"; 66 - license = with licenses; [ 67 lgpl2Only 68 lgpl21Only 69 ]; 70 - maintainers = with maintainers; [ 71 nickcao 72 RossComputerGuy 73 nrabulinski 74 ]; 75 - platforms = [ "x86_64-linux" ] ++ lib.optionals (!sevVariant) [ "aarch64-linux" ]; 76 }; 77 })
··· 10 perl, 11 elfutils, 12 python3, 13 + variant ? null, 14 }: 15 + 16 + assert lib.elem variant [ 17 + null 18 + "sev" 19 + "tdx" 20 + ]; 21 22 stdenv.mkDerivation (finalAttrs: { 23 + pname = "libkrunfw" + lib.optionalString (variant != null) "-${variant}"; 24 + version = "4.10.0"; 25 26 src = fetchFromGitHub { 27 owner = "containers"; 28 repo = "libkrunfw"; 29 tag = "v${finalAttrs.version}"; 30 + hash = "sha256-mq2gw0+xL6qUZE/fk0vLT3PEpzPV8p+iwRFJHXVOMnk="; 31 }; 32 33 kernelSrc = fetchurl { 34 + url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.34.tar.xz"; 35 + hash = "sha256-p/P+OB9n7KQXLptj77YaFL1/nhJ44DYD0P9ak/Jwwk0="; 36 }; 37 38 postPatch = '' ··· 57 makeFlags = [ 58 "PREFIX=${placeholder "out"}" 59 ] 60 + ++ lib.optionals (variant == "sev") [ 61 "SEV=1" 62 + ] 63 + ++ lib.optionals (variant == "tdx") [ 64 + "TDX=1" 65 ]; 66 67 # Fixes https://github.com/containers/libkrunfw/issues/55 ··· 69 70 enableParallelBuilding = true; 71 72 + meta = { 73 description = "Dynamic library bundling the guest payload consumed by libkrun"; 74 homepage = "https://github.com/containers/libkrunfw"; 75 + license = with lib.licenses; [ 76 lgpl2Only 77 lgpl21Only 78 ]; 79 + maintainers = with lib.maintainers; [ 80 nickcao 81 RossComputerGuy 82 nrabulinski 83 ]; 84 + platforms = [ "x86_64-linux" ] ++ lib.optionals (variant == null) [ "aarch64-linux" ]; 85 }; 86 })