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 , gflags 9 , glog 10 , suitesparse 11 , runTests ? false 12 , enableStatic ? stdenv.hostPlatform.isStatic 13 , withBlas ? true ··· 30 nativeBuildInputs = [ cmake ]; 31 buildInputs = lib.optional runTests gflags; 32 propagatedBuildInputs = [ eigen glog ] 33 - ++ lib.optionals withBlas [ blas suitesparse ]; 34 35 cmakeFlags = [ 36 "-DBUILD_SHARED_LIBS=${if enableStatic then "OFF" else "ON"}"
··· 8 , gflags 9 , glog 10 , suitesparse 11 + , metis 12 , runTests ? false 13 , enableStatic ? stdenv.hostPlatform.isStatic 14 , withBlas ? true ··· 31 nativeBuildInputs = [ cmake ]; 32 buildInputs = lib.optional runTests gflags; 33 propagatedBuildInputs = [ eigen glog ] 34 + ++ lib.optionals withBlas [ blas suitesparse metis ]; 35 36 cmakeFlags = [ 37 "-DBUILD_SHARED_LIBS=${if enableStatic then "OFF" else "ON"}"