pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libGLU, libGL, libX11, libXext }:
{ lib, stdenv, fetchurl, libGLU, libGL, libX11, libXext }:
stdenv.mkDerivation rec {
name = "glfw-2.7.9";
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
ln -s libglfw.so.2 $out/lib/libglfw.so
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
homepage = "http://glfw.sourceforge.net/";
license = licenses.zlib;
maintainers = [ stdenv.lib.maintainers.marcweber ];
maintainers = [ lib.maintainers.marcweber ];
platforms = platforms.linux;
};
}
+1 -1
View File
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
substituteInPlace src/glx_context.c --replace "libGL.so.1" "${lib.getLib libGL}/lib/libGL.so.1"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
homepage = "https://www.glfw.org/";
license = licenses.zlib;