mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
scotch: init at 6.0.4
This commit is contained in:
parent
be0abb32f6
commit
75af59f8eb
36
pkgs/applications/science/math/scotch/default.nix
Normal file
36
pkgs/applications/science/math/scotch/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, bison, openmpi, flex, zlib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.0.4";
|
||||
name = "scotch-${version}";
|
||||
src_name = "scotch_${version}";
|
||||
|
||||
buildInputs = [ bison openmpi flex zlib ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gforge.inria.fr/frs/download.php/file/34618/${src_name}.tar.gz";
|
||||
sha256 = "f53f4d71a8345ba15e2dd4e102a35fd83915abf50ea73e1bf6efe1bc2b4220c7";
|
||||
};
|
||||
|
||||
sourceRoot = "${src_name}/src";
|
||||
|
||||
preConfigure = ''
|
||||
ln -s Make.inc/Makefile.inc.x86-64_pc_linux2 Makefile.inc
|
||||
'';
|
||||
|
||||
buildFlags = [ "scotch ptscotch" ];
|
||||
installFlags = [ "prefix=\${out}" ];
|
||||
|
||||
meta = {
|
||||
description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
|
||||
longDescription = ''
|
||||
Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering,
|
||||
and sparse matrix ordering.
|
||||
'';
|
||||
homepage = "http://www.labri.fr/perso/pelegrin/scotch";
|
||||
license = stdenv.lib.licenses.cecill-c;
|
||||
maintainers = [ stdenv.lib.maintainers.bzizou ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -15370,6 +15370,8 @@ let
|
||||
withX = true;
|
||||
};
|
||||
|
||||
scotch = callPackage ../applications/science/math/scotch { };
|
||||
|
||||
msieve = callPackage ../applications/science/math/msieve { };
|
||||
|
||||
weka = callPackage ../applications/science/math/weka { };
|
||||
|
Loading…
Reference in New Issue
Block a user