2005-03-16 16:13:30 +01:00
|
|
|
{stdenv, fetchurl, g77, readline, ncurses, perl, flex}:
|
2004-08-05 15:05:38 +02:00
|
|
|
|
2005-03-16 16:13:30 +01:00
|
|
|
assert readline != null && ncurses != null && flex != null;
|
2008-10-10 10:55:15 +02:00
|
|
|
assert g77.langFortran;
|
2004-08-05 15:05:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-06-23 16:04:32 +02:00
|
|
|
name = "octave-2.9.6";
|
2004-08-05 15:05:38 +02:00
|
|
|
src = fetchurl {
|
2007-08-24 14:32:36 +02:00
|
|
|
url = ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-2.9.6.tar.bz2;
|
2006-06-23 16:04:32 +02:00
|
|
|
md5 = "10f07dbc0951a7318502a9f1e51e6388";
|
2004-08-05 15:05:38 +02:00
|
|
|
};
|
2005-03-16 16:13:30 +01:00
|
|
|
buildInputs = [g77 readline ncurses perl flex];
|
2004-09-08 16:23:18 +02:00
|
|
|
configureFlags = "--enable-readline --enable-dl --disable-static --enable-shared";
|
2004-08-05 15:05:38 +02:00
|
|
|
}
|