uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/applications/science/math/scotch/default.nix
Normal file
36
pkgs/applications/science/math/scotch/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, bison, mpi, flex, zlib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.1.1";
|
||||
pname = "scotch";
|
||||
src_name = "scotch_${version}";
|
||||
|
||||
buildInputs = [ bison mpi flex zlib ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/34618/${src_name}.tar.gz";
|
||||
sha256 = "sha256-OQUvWf9HSkppzvwlzzyvhClACIneugEO5kA8oYj4sxE=";
|
||||
};
|
||||
|
||||
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 = lib.licenses.cecill-c;
|
||||
maintainers = [ lib.maintainers.bzizou ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue