nixpkgs/pkgs/development/interpreters/octave/default.nix
Lluís Batlle i Rossell 5e2de19cc1 Fixing octave, so plot(1) works.
Linking octave with clapack did not work.

I updated lapack, and additionally I build it with atlas, instead of blas. That should give
better performance. I don't know if atlas builds everywhere though.

On the other hand, maybe some programs linking with liblapack will fail. We'll have to check
the hydra reports.

I plan to remove clapack; liblapack provides a C interface too.


svn path=/nixpkgs/trunk/; revision=32464
2012-02-21 21:43:44 +00:00

18 lines
559 B
Nix

{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
libX11, graphicsmagick, pcre, liblapack, texLive, pkgconfig }:
stdenv.mkDerivation rec {
name = "octave-3.4.3";
src = fetchurl {
url = "mirror://gnu/octave/${name}.tar.bz2";
sha256 = "0j61kpfbv8l8rw3r9cwcmskvvav3q2f6plqdq3lnb153jg61klcl";
};
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
graphicsmagick pcre liblapack texLive pkgconfig ];
enableParallelBuilding = true;
configureFlags = [ "--enable-readline" "--enable-dl" ];
}