gl3w: add updateScript

This commit is contained in:
Lily Foster 2022-10-24 07:44:16 -04:00
parent ac1f5b72a9
commit 5f5bdf86d7
No known key found for this signature in database
GPG Key ID: 49340081E484C893

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";