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

15 lines
509 B
Nix
Raw Normal View History

{stdenv, fetchurl, g77, readline, ncurses, perl, flex, texinfo, qhull}:
assert readline != null && ncurses != null && flex != null;
assert g77.langF77;
stdenv.mkDerivation {
name = "octave-3.0.4";
src = fetchurl {
url = ftp://ftp.octave.org/pub/octave/octave-3.0.4.tar.bz2;
sha256 = "1rkpzig0r0zrm73avxgai0zqkz9hv4js57i1xxdzcm22qw22szaj";
};
buildInputs = [g77 readline ncurses perl flex texinfo qhull];
configureFlags = "--enable-readline --enable-dl --disable-static --enable-shared";
}