summary refs log tree commit diff
path: root/pkgs/development/libraries/libglvnd
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-02-27 20:24:08 +0100
committerGitHub <noreply@github.com>2021-02-27 20:24:08 +0100
commit322e538df89e26cb5753aaf5f40fcc25821f3f4c (patch)
treec5f619dd319b009b9d47ad7c4294a9dd1887eb11 /pkgs/development/libraries/libglvnd
parent76e6896331db36434fde8fee7a5a880f4a8d4e94 (diff)
downloadnixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar.gz
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar.bz2
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar.lz
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar.xz
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.tar.zst
nixpkgs-322e538df89e26cb5753aaf5f40fcc25821f3f4c.zip
libglvnd: Improve the license information (#114466)
Unfortunately the upstream licensing is quite complicated:
https://gitlab.freedesktop.org/glvnd/libglvnd#libglvnd

The main libglvnd license is MIT-like but files under different licenses
are also included. This is an approximation that ignores some license
"customizations".

Other distributions use the following license specifications:
- "MIT":
  - https://src.fedoraproject.org/rpms/libglvnd/blob/rawhide/f/libglvnd.spec
  - https://build.opensuse.org/package/view_file/openSUSE:Factory/libglvnd/libglvnd.spec
  - https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libglvnd/libglvnd-1.3.2-r2.ebuild
- "custom:MIT-alike": https://github.com/void-linux/void-packages/blob/master/srcpkgs/libglvnd/template
- "APACHE20 MIT": https://www.freshports.org/graphics/libglvnd
- "custom:BSD-like": https://archlinux.org/packages/extra/x86_64/libglvnd/
Diffstat (limited to 'pkgs/development/libraries/libglvnd')
-rw-r--r--pkgs/development/libraries/libglvnd/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libglvnd/default.nix b/pkgs/development/libraries/libglvnd/default.nix
index 3124486f07a..31a9579a892 100644
--- a/pkgs/development/libraries/libglvnd/default.nix
+++ b/pkgs/development/libraries/libglvnd/default.nix
@@ -62,7 +62,8 @@ stdenv.mkDerivation rec {
       Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.
     '';
     inherit (src.meta) homepage;
-    license = licenses.bsd2;
+    # https://gitlab.freedesktop.org/glvnd/libglvnd#libglvnd:
+    license = with licenses; [ mit bsd1 bsd3 gpl3Only asl20 ];
     platforms = platforms.linux ++ platforms.darwin;
     maintainers = with maintainers; [ primeos ];
   };