nixpkgs/pkgs/by-name/sc/scotch/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.0 KiB
Nix
Raw Normal View History

2024-04-30 14:53:31 +01:00
{
bison,
bzip2,
cmake,
fetchFromGitLab,
2024-04-30 14:53:31 +01:00
flex,
gfortran,
lib,
mpi,
stdenv,
2024-04-30 14:53:31 +01:00
zlib,
xz,
2024-04-30 14:53:31 +01:00
}:
stdenv.mkDerivation (finalAttrs: {
pname = "scotch";
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}";
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" ];
nativeBuildInputs = [
cmake
gfortran
];
2024-04-30 14:53:31 +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.
'';
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
})