From 8a1fdce8d3482b60ac13678a8eab838777b51549 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Tue, 27 Oct 2020 13:44:13 +0100 Subject: [PATCH] wshowkeys: Fix the license The project license is the GPL3 and only portions are MIT licensed. --- pkgs/tools/wayland/wshowkeys/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/wayland/wshowkeys/default.nix b/pkgs/tools/wayland/wshowkeys/default.nix index f2519725594c..0db02990c036 100644 --- a/pkgs/tools/wayland/wshowkeys/default.nix +++ b/pkgs/tools/wayland/wshowkeys/default.nix @@ -28,7 +28,9 @@ in stdenv.mkDerivation rec { setuid binary (use "programs.wshowkeys.enable = true;"). ''; homepage = "https://git.sr.ht/~sircmpwn/wshowkeys"; - license = licenses.mit; + license = with licenses; [ gpl3Only mit ]; + # Some portions of the code are taken from Sway which is MIT licensed. + # TODO: gpl3Only or gpl3Plus (ask upstream)? platforms = platforms.unix; maintainers = with maintainers; [ primeos berbiche ]; };