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