From 2b4700159d21ad71a92fbd99b4ba75e27460b245 Mon Sep 17 00:00:00 2001 From: Fernando Rodrigues Date: Tue, 18 Mar 2025 08:22:52 -0300 Subject: [PATCH] ipxe: correct licensing information Updates the licensing information to match Fedora's SPDX identifier. This is necessary because of IPXE's built-in EFI headers and other third-party code embedded in IPXE. Please note that Nixpkgs does not yet have a way to programatically identify `GPL-2.0-or-later WITH UBDL-exception` or the `AND` and `OR` logical identifiers in SPDX, so the best we can do is express all of the licenses in a list and add a comment for UBDL. Reported-by: sanana Signed-off-by: Fernando Rodrigues --- pkgs/by-name/ip/ipxe/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ip/ipxe/package.nix b/pkgs/by-name/ip/ipxe/package.nix index fb5b02ef33c1..4bdb023bae93 100644 --- a/pkgs/by-name/ip/ipxe/package.nix +++ b/pkgs/by-name/ip/ipxe/package.nix @@ -142,7 +142,15 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Network boot firmware"; homepage = "https://ipxe.org/"; - license = lib.licenses.gpl2Only; + license = with lib.licenses; [ + bsd2 + bsd3 + gpl2Only + gpl2UBDLPlus + isc + mit + mpl11 + ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ sigmasquadron ]; };