Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

30 lines
643 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
libGLU,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "glbinding";
version = "3.5.0";
src = fetchFromGitHub {
owner = "cginternals";
repo = "glbinding";
rev = "v${finalAttrs.version}";
sha256 = "sha256-oLtOsiXfl/18rY/89vl9JDDWpPmEELOFKAHuClveU0c=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU ];
meta = {
homepage = "https://github.com/cginternals/glbinding/";
description = "C++ binding for the OpenGL API, generated using the gl.xml specification";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.mt-caret ];
};
})