vmmlib: fix build

provide lapack instead of blas, causing gaussian elimination tests to
no longer fail

remove some trailing spaces from the longDescription to please the linter.
sorry.
This commit is contained in:
Robert Scott 2020-09-20 18:29:05 +01:00 committed by Jon
parent 3072630c31
commit 566605626c

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, blas
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, lapack
, Accelerate, CoreGraphics, CoreVideo
}:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ boost blas ]
buildInputs = [ boost lapack ]
++ stdenv.lib.optionals stdenv.isDarwin [ Accelerate CoreGraphics CoreVideo ];
enableParallelBuilding = true;
@ -30,11 +30,11 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A vector and matrix math library implemented using C++ templates";
longDescription = ''vmmlib is a vector and matrix math library implemented
using C++ templates. Its basic functionality includes a vector
and a matrix class, with additional functionality for the
longDescription = ''vmmlib is a vector and matrix math library implemented
using C++ templates. Its basic functionality includes a vector
and a matrix class, with additional functionality for the
often-used 3d and 4d vectors and 3x3 and 4x4 matrices.
More advanced functionality include solvers, frustum
More advanced functionality include solvers, frustum
computations and frustum culling classes, and spatial data structures'';
license = licenses.bsd2;
@ -43,4 +43,3 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
};
}