glfw: 3.2.1 -> 3.3
This commit is contained in:
parent
82af060040
commit
5f6f75fcec
@ -1,16 +1,17 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, libGL, libXrandr, libXinerama, libXcursor, libX11
|
{ stdenv, lib, fetchFromGitHub, cmake
|
||||||
|
, libGL, libXrandr, libXinerama, libXcursor, libX11, libXi, libXext
|
||||||
, Cocoa, Kernel, fixDarwinDylibNames
|
, Cocoa, Kernel, fixDarwinDylibNames
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.2.1";
|
version = "3.3";
|
||||||
pname = "glfw";
|
pname = "glfw";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "glfw";
|
owner = "glfw";
|
||||||
repo = "GLFW";
|
repo = "GLFW";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0gq6ad38b3azk0w2yy298yz2vmg2jmf9g0ydidqbmiswpk25ills";
|
sha256 = "1f1hqpqffzg46z33ybs2c3akmkly7b3qmgp5byk50nvad6g2pm4p";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ libX11 libXrandr libXinerama libXcursor ]
|
buildInputs = [ libX11 libXrandr libXinerama libXcursor libXi libXext ]
|
||||||
++ lib.optionals stdenv.isDarwin [ Cocoa Kernel fixDarwinDylibNames ];
|
++ lib.optionals stdenv.isDarwin [ Cocoa Kernel fixDarwinDylibNames ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||||
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
|
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
|
||||||
homepage = https://www.glfw.org/;
|
homepage = https://www.glfw.org/;
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
maintainers = with maintainers; [ marcweber ];
|
maintainers = with maintainers; [ marcweber twey ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user