From 4934c0596f5788514fb7a70f6e9789132be7a882 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Sun, 9 Nov 2025 20:22:40 +0100 Subject: [PATCH] xkeyboard-config: improve license list Previously I just set this to "free", however with https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/527 being resolved and https://github.com/spdx/license-list-XML/pull/2864 being merged this license is now a thing. --- lib/licenses.nix | 5 +++++ pkgs/by-name/xk/xkeyboard-config/package.nix | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/licenses.nix b/lib/licenses.nix index c38379ed405b..5dcf1a781f4f 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -747,6 +747,11 @@ lib.mapAttrs mkLicense ( fullName = "Historical Permission Notice and Disclaimer - University of California variant"; }; + hyphenBulgarian = { + fullName = "hyphen-bulgarian License"; + spdxId = "hyphen-bulgarian"; + }; + # Intel's license, seems free iasl = { spdxId = "Intel-ACPI"; diff --git a/pkgs/by-name/xk/xkeyboard-config/package.nix b/pkgs/by-name/xk/xkeyboard-config/package.nix index 666de77d7b00..76f05d89a425 100644 --- a/pkgs/by-name/xk/xkeyboard-config/package.nix +++ b/pkgs/by-name/xk/xkeyboard-config/package.nix @@ -81,9 +81,7 @@ stdenv.mkDerivation (finalAttrs: { mit hpnd cronyx - # there is another unknown license at the end but it seems free - # also see this issue https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/527 - free + hyphenBulgarian ]; maintainers = [ ]; platforms = lib.platforms.unix;