base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / sc / scotch / package.nix
blobe089a0666072b8e0a72736a64ae62d34e5454c8a
2   bison,
3   bzip2,
4   cmake,
5   fetchFromGitLab,
6   flex,
7   gfortran,
8   lib,
9   mpi,
10   stdenv,
11   zlib,
12   xz,
15 stdenv.mkDerivation (finalAttrs: {
16   pname = "scotch";
17   version = "7.0.5";
19   src = fetchFromGitLab {
20     domain = "gitlab.inria.fr";
21     owner = "scotch";
22     repo = "scotch";
23     rev = "v${finalAttrs.version}";
24     hash = "sha256-XXkVwTr8cbYfzXWWkPERTmjfE86JHUUuU6yxjp9k6II=";
25   };
27   outputs = [
28     "bin"
29     "dev"
30     "out"
31   ];
33   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
35   nativeBuildInputs = [
36     cmake
37     gfortran
38   ];
40   buildInputs = [
41     bison
42     bzip2
43     mpi
44     flex
45     xz
46     zlib
47   ];
49   meta = {
50     description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
51     longDescription = ''
52       Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering,
53       and sparse matrix ordering.
54     '';
55     homepage = "http://www.labri.fr/perso/pelegrin/scotch";
56     license = lib.licenses.cecill-c;
57     maintainers = [ lib.maintainers.bzizou ];
58   };