libglvnd: Switch to the new official repository

"The official repository for libglvnd is hosted on FreeDesktop.org's
GitLab: https://gitlab.freedesktop.org/glvnd/libglvnd" [0]

[0]: https://github.com/NVIDIA/libglvnd/tree/master#introduction
This commit is contained in:
Michael Weiss
2021-02-26 12:40:17 +01:00
parent 8066dd61a3
commit c6f1dc2320
@@ -1,11 +1,15 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, python3, pkg-config, libX11, libXext, xorgproto, addOpenGLRunpath }: { stdenv, lib, fetchFromGitLab
, autoreconfHook, pkg-config, python3, addOpenGLRunpath
, libX11, libXext, xorgproto
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libglvnd"; pname = "libglvnd";
version = "1.3.2"; version = "1.3.2";
src = fetchFromGitHub { src = fetchFromGitLab {
owner = "NVIDIA"; domain = "gitlab.freedesktop.org";
owner = "glvnd";
repo = "libglvnd"; repo = "libglvnd";
rev = "v${version}"; rev = "v${version}";
sha256 = "10x7fgb114r4gikdg6flszl3kwzcb9y5qa7sj9936mk0zxhjaylz"; sha256 = "10x7fgb114r4gikdg6flszl3kwzcb9y5qa7sj9936mk0zxhjaylz";
@@ -54,7 +58,7 @@ stdenv.mkDerivation rec {
dispatch each API call to at runtime. dispatch each API call to at runtime.
Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES. Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.
''; '';
homepage = "https://github.com/NVIDIA/libglvnd"; inherit (src.meta) homepage;
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ primeos ]; maintainers = with maintainers; [ primeos ];