ceres-solver: Add and propagate metis dependency

SuiteSparse depends on METIS anyway, so we might as well enable METIS in
ceres-solver as well.

+2 -1
+2 -1
pkgs/development/libraries/ceres-solver/default.nix
··· 8 8 , gflags 9 9 , glog 10 10 , suitesparse 11 + , metis 11 12 , runTests ? false 12 13 , enableStatic ? stdenv.hostPlatform.isStatic 13 14 , withBlas ? true ··· 30 31 nativeBuildInputs = [ cmake ]; 31 32 buildInputs = lib.optional runTests gflags; 32 33 propagatedBuildInputs = [ eigen glog ] 33 - ++ lib.optionals withBlas [ blas suitesparse ]; 34 + ++ lib.optionals withBlas [ blas suitesparse metis ]; 34 35 35 36 cmakeFlags = [ 36 37 "-DBUILD_SHARED_LIBS=${if enableStatic then "OFF" else "ON"}"