7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-VQgnc3DSZoY1ounc9fj3Mju52noI0JZ7ck8FqWpEgY8=";
18 nativeBuildInputs = [ cmake ];
21 substituteInPlace CMakeLists.txt \
22 --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
23 --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
27 homepage = "https://github.com/recp/cglm";
28 description = "Highly Optimized Graphics Math (glm) for C";
29 license = licenses.mit;
31 platforms = platforms.unix;