scotch: 7.0.9 -> 7.0.10 (#447645)

authored by nixpkgs-merge-bot[bot] and committed by GitHub cd928096 98dd3e37

+16 -11
+16 -11
pkgs/by-name/sc/scotch/package.nix
··· 12 12 mpi, 13 13 withPtScotch ? false, 14 14 testers, 15 + pkgsMusl ? { }, # default to empty set to avoid CI fails with allowVariants = false 16 + nix-update-script, 15 17 }: 16 18 17 19 stdenv.mkDerivation (finalAttrs: { 18 20 pname = "scotch"; 19 - version = "7.0.9"; 21 + version = "7.0.10"; 20 22 21 23 src = fetchFromGitLab { 22 24 domain = "gitlab.inria.fr"; 23 25 owner = "scotch"; 24 26 repo = "scotch"; 25 27 rev = "v${finalAttrs.version}"; 26 - hash = "sha256-dbf18XdmDP0KgS4H4L7Wnam7kGF88yBcCvehYRRpHvA="; 28 + hash = "sha256-qeMgTkoM/RDsZa0T6hmrDLbLuSeR8WNxllyHSlkMVzA="; 27 29 }; 28 30 29 31 outputs = [ ··· 37 39 (lib.cmakeBool "BUILD_PTSCOTCH" withPtScotch) 38 40 # Prefix Scotch version of MeTiS routines 39 41 (lib.cmakeBool "SCOTCH_METIS_PREFIX" true) 40 - # building tests is broken with SCOTCH_METIS_PREFIX enabled in 7.0.9 42 + # building tests is broken with SCOTCH_METIS_PREFIX enabled, at least since 7.0.9 41 43 (lib.cmakeBool "ENABLE_TESTS" false) 42 44 ]; 43 45 ··· 58 60 mpi 59 61 ]; 60 62 63 + # SCOTCH provide compatibility with Metis/Parmetis interface. 64 + # We install the metis compatible headers to subdirectory to 65 + # avoid conflict with metis/parmetis. 66 + postFixup = '' 67 + mkdir -p $dev/include/scotch 68 + mv $dev/include/{*metis,metisf}.h $dev/include/scotch 69 + ''; 70 + 61 71 passthru = { 62 72 tests = { 63 73 cmake-config = testers.hasCmakeConfigModules { 64 74 moduleNames = [ "SCOTCH" ]; 65 75 package = finalAttrs.finalPackage; 66 76 }; 77 + musl = pkgsMusl.scotch or null; 67 78 }; 79 + 80 + updateScript = nix-update-script { }; 68 81 }; 69 - 70 - # SCOTCH provide compatibility with Metis/Parmetis interface. 71 - # We install the metis compatible headers to subdirectory to 72 - # avoid conflict with metis/parmetis. 73 - postFixup = '' 74 - mkdir -p $dev/include/scotch 75 - mv $dev/include/{*metis,metisf}.h $dev/include/scotch 76 - ''; 77 82 78 83 meta = { 79 84 description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";