nixpkgs/pkgs/development/interpreters/octave/default.nix
Lluís Batlle i Rossell a81366984e Updating octave to 3.6.0
svn path=/nixpkgs/trunk/; revision=32451
2012-02-21 11:34:57 +00:00

20 lines
594 B
Nix

{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
libX11, graphicsmagick, pcre, blas, clapack, texLive }:
stdenv.mkDerivation rec {
name = "octave-3.6.0";
src = fetchurl {
url = "mirror://gnu/octave/${name}.tar.bz2";
sha256 = "1mwj5pbbdzfbmcqyk0vx6si7mh8yhayppwnb1i63v871gxy775z5";
};
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";
}