14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
21 rev = "release-${version}";
22 sha256 = "0sn6jl1r5k6ka0vkjsdnn14hb95dqq8158dapby6jk72wqj9kdml";
26 ./disable-cpack.patch # disable the need of cpack/rpm
38 ++ lib.optionals stdenv.hostPlatform.isDarwin [
44 doCheck = !stdenv.hostPlatform.isDarwin;
49 broken = stdenv.hostPlatform.isDarwin;
50 description = "Vector and matrix math library implemented using C++ templates";
53 vmmlib is a vector and matrix math library implemented
54 using C++ templates. Its basic functionality includes a vector
55 and a matrix class, with additional functionality for the
56 often-used 3d and 4d vectors and 3x3 and 4x4 matrices.
57 More advanced functionality include solvers, frustum
58 computations and frustum culling classes, and spatial data structures
61 license = licenses.bsd2;
62 homepage = "https://github.com/VMML/vmmlib/";
63 maintainers = [ maintainers.adev ];
64 platforms = platforms.all;