2018-04-17 16:35:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glbinding";
|
2019-06-01 19:54:46 +01:00
|
|
|
version = "3.1.0";
|
2018-04-17 16:35:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cginternals";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-06-01 19:54:46 +01:00
|
|
|
sha256 = "1avd7ssms11xx7h0cm8h4pfpk55f07f1j1ybykxfgsym2chb2z08";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|