nixpkgs/pkgs/development/interpreters/octave/default.nix
Lluís Batlle i Rossell b5a904153b Building octave with mesa and fltk to have the new fltk graphics toolkit available.
I also add more libs octave appreciates for some functions.

I've not tested the graphics toolkit, but it builds.


svn path=/nixpkgs/trunk/; revision=32465
2012-02-21 22:09:48 +00:00

20 lines
649 B
Nix

{stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull,
libX11, graphicsmagick, pcre, liblapack, texLive, pkgconfig, mesa, fltk,
fftw, fftwSinglePrec, zlib, curl }:
stdenv.mkDerivation rec {
name = "octave-3.4.3";
src = fetchurl {
url = "mirror://gnu/octave/${name}.tar.bz2";
sha256 = "0j61kpfbv8l8rw3r9cwcmskvvav3q2f6plqdq3lnb153jg61klcl";
};
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11
graphicsmagick pcre liblapack texLive pkgconfig mesa fltk zlib curl
fftw fftwSinglePrec ];
enableParallelBuilding = true;
configureFlags = [ "--enable-readline" "--enable-dl" ];
}