gl3w: add updateScript
This commit is contained in:
parent
ac1f5b72a9
commit
5f5bdf86d7
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3, cmake, libglvnd, libGLU }:
|
{ lib, stdenv, fetchFromGitHub, python3, cmake, libglvnd, libGLU, unstableGitUpdater }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gl3w";
|
pname = "gl3w";
|
||||||
|
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||||
cp ${libglvnd.dev}/include/KHR/khrplatform.h include/KHR/khrplatform.h
|
cp ${libglvnd.dev}/include/KHR/khrplatform.h include/KHR/khrplatform.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple OpenGL core profile loading";
|
description = "Simple OpenGL core profile loading";
|
||||||
homepage = "https://github.com/skaslev/gl3w";
|
homepage = "https://github.com/skaslev/gl3w";
|
||||||
|
|
Loading…
Reference in a new issue