gl3w: add updateScript

This commit is contained in:
Lily Foster
2023-02-17 13:30:06 -05:00
parent ac1f5b72a9
commit 5f5bdf86d7
+3 -1
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";