From c5cd69718fa47d43d38735b05295e3fd3b801544 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 25 Jul 2025 14:06:26 +0200 Subject: [PATCH] alsa-plugins: provide more precise licence information MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code is licenced under LGPL 2.1 or later with the follawing exceptions: - The maemo plugin is licenced under the older LGPL 2 (or later), and - m4/attributes.m4 and usb_stream/usb_stream.h are marked as being GPL 2 or later. I assume that in most jurisdiction the inclusion of a single GPL‐licenced header would not be sufficient to make the whole package or even just the usb_stream plugin a derivative work, but I am not a lawyer and think that it is best to expose precise licence information. --- pkgs/by-name/al/alsa-plugins/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/al/alsa-plugins/package.nix b/pkgs/by-name/al/alsa-plugins/package.nix index 3526282d63de..2de2ded62a73 100644 --- a/pkgs/by-name/al/alsa-plugins/package.nix +++ b/pkgs/by-name/al/alsa-plugins/package.nix @@ -39,7 +39,13 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Various plugins for ALSA"; homepage = "http://alsa-project.org/"; - license = lib.licenses.lgpl21; + + license = with lib.licenses; [ + lgpl21Plus + lgpl2Plus # maemo plugin + gpl2Plus # attributes.m4 & usb_stream.h + ]; + maintainers = [ lib.maintainers.marcweber ]; platforms = lib.platforms.linux; };