1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libglvnd/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

32 lines
920 B
Nix

{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, mesa_noglu, libX11, libXext, glproto }:
# Git version is needed for EGL and GLES handling.
stdenv.mkDerivation rec {
name = "libglvnd-2016-12-22";
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "libglvnd";
rev = "dc16f8c337703ad141f83583a4004fcf42e07766";
sha256 = "1dbwf1216np77xf1kx3ci3y7hfa1p4vgrrzg71gw36hqxf36vg5f";
};
nativeBuildInputs = [ autoreconfHook pkgconfig python2 ];
buildInputs = [ libX11 libXext glproto ];
NIX_CFLAGS_COMPILE = [
"-UDEFAULT_EGL_VENDOR_CONFIG_DIRS"
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${mesa_noglu.driverLink}/share/glvnd/egl_vendor.d\""
];
outputs = [ "out" "dev" ];
meta = with stdenv.lib; {
description = "The GL Vendor-Neutral Dispatch library";
homepage = https://github.com/NVIDIA/libglvnd;
license = licenses.bsd2;
platforms = platforms.linux;
};
}