nixpkgs/pkgs/development/interpreters/octave/default.nix

14 lines
460 B
Nix
Raw Normal View History

{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex}:
assert readline != null && ncurses != null && flex != null;
stdenv.mkDerivation {
name = "octave-2.9.6";
src = fetchurl {
url = ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-2.9.6.tar.bz2;
md5 = "10f07dbc0951a7318502a9f1e51e6388";
};
buildInputs = [gfortran readline ncurses perl flex];
configureFlags = "--enable-readline --enable-dl --disable-static --enable-shared";
}