3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/scotch/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

37 lines
1.1 KiB
Nix

{ 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;
};
}