Merge pull request #216848 from lilyinstarlight/misc/gl3w-updatescript

gl3w: add updateScript
This commit is contained in:
Nick Cao 2023-02-18 10:43:45 +08:00 committed by GitHub
commit 5dddbf8190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3, cmake, libglvnd, libGLU }:
{ lib, stdenv, fetchFromGitHub, python3, cmake, libglvnd, libGLU, unstableGitUpdater }:
stdenv.mkDerivation rec {
pname = "gl3w";
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
cp ${libglvnd.dev}/include/KHR/khrplatform.h include/KHR/khrplatform.h
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Simple OpenGL core profile loading";
homepage = "https://github.com/skaslev/gl3w";