2018-04-17 16:35:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "glbinding";
|
2018-11-10 01:06:13 +00:00
|
|
|
version = "3.0.2";
|
2018-04-17 16:35:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cginternals";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2018-11-10 01:06:13 +00:00
|
|
|
sha256 = "1lvcps0n0p8gg0p2bkm5aq4b4kv8bvxlaaf4fcham2pgbgzil9d4";
|
2018-04-17 16:35:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake libGLU xlibsWrapper ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/cginternals/glbinding/;
|
|
|
|
description = "A C++ binding for the OpenGL API, generated using the gl.xml specification";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mt-caret ];
|
|
|
|
};
|
|
|
|
}
|