iml: use openblas instead of atlas

+13 -3
+13 -3
pkgs/development/libraries/iml/default.nix
··· 1 - {stdenv, fetchurl, gmp, atlas}: 1 + {stdenv, autoreconfHook, fetchurl, gmp, openblas}: 2 2 stdenv.mkDerivation rec { 3 3 name = "iml-${version}"; 4 4 version = "1.0.5"; ··· 6 6 url = "http://www.cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2"; 7 7 sha256 = "0akwhhz9b40bz6lrfxpamp7r7wkk48p455qbn04mfnl9a1l6db8x"; 8 8 }; 9 - buildInputs = [gmp atlas]; 10 - configureFlags = "--with-gmp-include=${gmp.dev}/include --with-gmp-lib=${gmp}/lib"; 9 + buildInputs = [ 10 + gmp 11 + openblas 12 + ]; 13 + nativeBuildInputs = [ 14 + autoreconfHook 15 + ]; 16 + configureFlags = [ 17 + "--with-gmp-include=${gmp.dev}/include" 18 + "--with-gmp-lib=${gmp}/lib" 19 + "--with-cblas=-lopenblas" 20 + ]; 11 21 meta = { 12 22 inherit version; 13 23 description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers'';