Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 libGLU,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "glbinding";
11 version = "3.5.0";
12
13 src = fetchFromGitHub {
14 owner = "cginternals";
15 repo = "glbinding";
16 rev = "v${version}";
17 sha256 = "sha256-oLtOsiXfl/18rY/89vl9JDDWpPmEELOFKAHuClveU0c=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [ libGLU ];
22
23 meta = with lib; {
24 homepage = "https://github.com/cginternals/glbinding/";
25 description = "C++ binding for the OpenGL API, generated using the gl.xml specification";
26 license = licenses.mit;
27 maintainers = [ maintainers.mt-caret ];
28 };
29}