2010-02-15 17:10:25 +00:00
|
|
|
{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
|
2012-02-21 21:43:44 +00:00
|
|
|
libX11, graphicsmagick, pcre, liblapack, texLive, pkgconfig }:
|
2004-08-05 14:05:38 +01:00
|
|
|
|
2012-02-21 11:34:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2012-02-21 15:45:22 +00:00
|
|
|
name = "octave-3.4.3";
|
2004-08-05 14:05:38 +01:00
|
|
|
src = fetchurl {
|
2012-02-21 11:34:57 +00:00
|
|
|
url = "mirror://gnu/octave/${name}.tar.bz2";
|
2012-02-21 15:45:22 +00:00
|
|
|
sha256 = "0j61kpfbv8l8rw3r9cwcmskvvav3q2f6plqdq3lnb153jg61klcl";
|
2004-08-05 14:05:38 +01:00
|
|
|
};
|
2012-02-21 11:34:57 +00:00
|
|
|
|
|
|
|
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
|
2012-02-21 21:43:44 +00:00
|
|
|
graphicsmagick pcre liblapack texLive pkgconfig ];
|
2012-02-21 11:34:57 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-02-21 15:45:22 +00:00
|
|
|
configureFlags = [ "--enable-readline" "--enable-dl" ];
|
2004-08-05 14:05:38 +01:00
|
|
|
}
|