Merge pull request #167779 from r-ryantm/auto-update/glfw

glfw: 3.3.6 -> 3.3.7
This commit is contained in:
Thiago Kenji Okada 2022-04-12 08:24:31 +01:00 committed by GitHub
commit 60d3d42712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,19 +6,18 @@
}:
stdenv.mkDerivation rec {
version = "3.3.6";
version = "3.3.7";
pname = "glfw";
src = fetchFromGitHub {
owner = "glfw";
repo = "GLFW";
rev = version;
sha256 = "sha256-mYcnucIRudLLySShKSDzsQfuoM2/0guKpeLSGuAWEkQ=";
sha256 = "sha256-aWwt6FRq/ofQmZAeavDa8inrJfrPxb8iyo1XYdQsrKc=";
};
# Fix freezing on Wayland (https://github.com/glfw/glfw/pull/1711)
# and linkage issues on X11 (https://github.com/NixOS/nixpkgs/issues/142583)
patches = if waylandSupport then ./wayland.patch else ./x11.patch;
# Fix linkage issues on X11 (https://github.com/NixOS/nixpkgs/issues/142583)
patches = lib.optional (!waylandSupport) ./x11.patch;
propagatedBuildInputs = [ libGL ];