2024-04-30 14:53:31 +01:00
|
|
|
{
|
|
|
|
bison,
|
2024-08-02 16:03:42 +01:00
|
|
|
bzip2,
|
|
|
|
cmake,
|
|
|
|
fetchFromGitLab,
|
2024-04-30 14:53:31 +01:00
|
|
|
flex,
|
2024-08-02 16:03:42 +01:00
|
|
|
gfortran,
|
|
|
|
lib,
|
|
|
|
mpi,
|
|
|
|
stdenv,
|
2024-04-30 14:53:31 +01:00
|
|
|
zlib,
|
2024-08-02 16:03:42 +01:00
|
|
|
xz,
|
2024-04-30 14:53:31 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "scotch";
|
2024-08-26 22:06:55 +01:00
|
|
|
version = "7.0.5";
|
2016-03-18 09:16:31 +00:00
|
|
|
|
2024-04-30 14:53:31 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
owner = "scotch";
|
|
|
|
repo = "scotch";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-08-26 22:06:55 +01:00
|
|
|
hash = "sha256-XXkVwTr8cbYfzXWWkPERTmjfE86JHUUuU6yxjp9k6II=";
|
2016-03-18 09:16:31 +00:00
|
|
|
};
|
|
|
|
|
2024-08-26 22:17:21 +01:00
|
|
|
outputs = [
|
|
|
|
"bin"
|
|
|
|
"dev"
|
|
|
|
"out"
|
|
|
|
];
|
|
|
|
|
2024-08-26 22:18:48 +01:00
|
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
|
|
|
|
2024-08-02 16:03:42 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
gfortran
|
|
|
|
];
|
2024-04-30 14:53:31 +01:00
|
|
|
|
2024-08-02 16:03:42 +01:00
|
|
|
buildInputs = [
|
|
|
|
bison
|
|
|
|
bzip2
|
|
|
|
mpi
|
|
|
|
flex
|
|
|
|
xz
|
|
|
|
zlib
|
|
|
|
];
|
2016-03-18 09:16:31 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
|
|
|
|
longDescription = ''
|
2021-01-15 13:21:58 +00:00
|
|
|
Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering,
|
2016-03-18 09:16:31 +00:00
|
|
|
and sparse matrix ordering.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.labri.fr/perso/pelegrin/scotch";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.cecill-c;
|
|
|
|
maintainers = [ lib.maintainers.bzizou ];
|
2016-03-18 09:16:31 +00:00
|
|
|
};
|
2024-04-30 14:53:31 +01:00
|
|
|
})
|