biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / science / math / scotch / default.nix
blob1eb057cfc7c5cbf20709c68317b12a5138bb7e4f
1 { lib, stdenv, fetchurl, bison, mpi, flex, zlib}:
3 stdenv.mkDerivation rec {
4   version = "6.1.1";
5   pname = "scotch";
6   src_name = "scotch_${version}";
8   buildInputs = [ bison mpi flex zlib ];
10   src = fetchurl {
11     url = "https://gforge.inria.fr/frs/download.php/file/34618/${src_name}.tar.gz";
12     sha256 = "sha256-OQUvWf9HSkppzvwlzzyvhClACIneugEO5kA8oYj4sxE=";
13   };
15   sourceRoot = "${src_name}/src";
17   preConfigure = ''
18     ln -s Make.inc/Makefile.inc.x86-64_pc_linux2 Makefile.inc
19   '';
21   buildFlags = [ "scotch ptscotch" ];
22   installFlags = [ "prefix=\${out}" ];
24   meta = {
25     description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
26     longDescription = ''
27       Scotch is a software package for graph and mesh/hypergraph partitioning, graph clustering,
28       and sparse matrix ordering.
29     '';
30     homepage = "http://www.labri.fr/perso/pelegrin/scotch";
31     license = lib.licenses.cecill-c;
32     maintainers = [ lib.maintainers.bzizou ];
33     platforms = lib.platforms.linux;
34   };