1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/development/libraries/suitesparse/default.nix
Michael Raskin 8c23da31e6 Fix typo
svn path=/nixpkgs/trunk/; revision=33608
2012-04-05 08:58:47 +00:00

20 lines
490 B
Nix

{ stdenv, fetchurl, blas, liblapack, gfortran } :
stdenv.mkDerivation {
name = "suitesparse";
src = fetchurl {
url = http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-3.5.0.tar.gz ;
sha256 = "0npn7c1j5qag5m2r0cmh3bwc42c1jk8k2yg2cfyxlcrp0h7wn4rc";
};
buildInputs = [blas liblapack gfortran] ;
patches = [./disable-metis.patch];
preConfigure = ''
export PREFIX=$out
mkdir -p $out/lib
mkdir -p $out/include
'';
NIX_CFLAGS = "-fPIC";
}