11 suitesparseVersion = "7.8.3";
23 src = fetchFromGitHub {
24 owner = "DrTimothyAldenDavis";
26 rev = "v${suitesparseVersion}";
27 hash = "sha256-ai3Xne1ByP2hcM9L236pUyVsVohW6k0BX0DRXPq/jhw=";
38 ++ lib.optionals stdenv.cc.isClang [
42 dontUseCmakeConfigure = true;
45 "-DBLAS_LIBRARIES=${blas}"
46 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
52 for f in SuiteSparse_config Mongoose; do
53 (cd $f && cmakeConfigurePhase && make -j$NIX_BUILD_CORES)
62 for f in SuiteSparse_config Mongoose; do
63 (cd $f/build && make install -j$NIX_BUILD_CORES)
70 description = "Graph Coarsening and Partitioning Library";
71 mainProgram = "suitesparse_mongoose";
72 homepage = "https://github.com/DrTimothyAldenDavis/SuiteSparse/tree/dev/Mongoose";
73 license = licenses.gpl3Only;
74 maintainers = with maintainers; [ wegank ];
75 platforms = with platforms; unix;