2010-02-15 17:10:25 +00:00
|
|
|
{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
|
2012-02-21 11:34:57 +00:00
|
|
|
libX11, graphicsmagick, pcre, blas, clapack, texLive }:
|
2004-08-05 13:05:38 +00:00
|
|
|
|
2012-02-21 11:34:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "octave-3.6.0";
|
2004-08-05 13:05:38 +00:00
|
|
|
src = fetchurl {
|
2012-02-21 11:34:57 +00:00
|
|
|
url = "mirror://gnu/octave/${name}.tar.bz2";
|
|
|
|
sha256 = "1mwj5pbbdzfbmcqyk0vx6si7mh8yhayppwnb1i63v871gxy775z5";
|
2004-08-05 13:05:38 +00:00
|
|
|
};
|
2012-02-21 11:34:57 +00:00
|
|
|
|
|
|
|
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
|
|
|
|
graphicsmagick pcre blas clapack texLive ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lf2c"; # For clapack
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
configureFlags = "--enable-readline --enable-dl --disable-docs";
|
2004-08-05 13:05:38 +00:00
|
|
|
}
|