1{ lib, stdenv, fetchFromGitHub, cmake, libGLU }:
2
3stdenv.mkDerivation rec {
4 pname = "glbinding";
5 version = "3.3.0";
6
7 src = fetchFromGitHub {
8 owner = "cginternals";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-xmEXZ1ssXzrElqd6D1zooFxLEyspsF4Dau3d9+1/2yw=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libGLU ];
16
17 meta = with lib; {
18 homepage = "https://github.com/cginternals/glbinding/";
19 description = "A C++ binding for the OpenGL API, generated using the gl.xml specification";
20 license = licenses.mit;
21 maintainers = [ maintainers.mt-caret ];
22 };
23}