octave: clean up all build inputs - use qt5

This commit is contained in:
Doron Behar 2020-02-11 22:50:27 +02:00
parent 2b18e72064
commit d4861e2b18

View File

@ -68,22 +68,57 @@ stdenv.mkDerivation rec {
sha256 = "1qcmcpsq1lfka19fxzvxjwjhg113c39a9a0x8plkhvwdqyrn5sig"; sha256 = "1qcmcpsq1lfka19fxzvxjwjhg113c39a9a0x8plkhvwdqyrn5sig";
}; };
buildInputs = [ gfortran readline ncurses perl flex texinfo qhull buildInputs = [
graphicsmagick pcre pkgconfig fltk zlib curl openblas libsndfile fftw readline
fftwSinglePrec portaudio qrupdate arpack libwebp gl2ps ] ncurses
++ (stdenv.lib.optional (qt != null) qt) perl
++ (stdenv.lib.optional (qscintilla != null) qscintilla) flex
++ (stdenv.lib.optional (ghostscript != null) ghostscript) qhull
++ (stdenv.lib.optional (llvm != null) llvm) graphicsmagick
++ (stdenv.lib.optional (hdf5 != null) hdf5) pcre
++ (stdenv.lib.optional (glpk != null) glpk) fltk
++ (stdenv.lib.optional (suitesparse != null) suitesparse) zlib
++ (stdenv.lib.optional (jdk != null) jdk) curl
++ (stdenv.lib.optional (gnuplot != null) gnuplot) openblas
++ (stdenv.lib.optional (python != null) python) libsndfile
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ libGL libGLU libX11 ]) fftw
; fftwSinglePrec
portaudio
qrupdate
arpack
libwebp
gl2ps
]
++ (stdenv.lib.optionals enableQt [
qtbase
qtsvg
qscintilla
])
++ (stdenv.lib.optional (ghostscript != null) ghostscript)
++ (stdenv.lib.optional (hdf5 != null) hdf5)
++ (stdenv.lib.optional (glpk != null) glpk)
++ (stdenv.lib.optional (suitesparse != null) suitesparse)
++ (stdenv.lib.optional (jdk != null) jdk)
++ (stdenv.lib.optional (sundials != null) sundials)
++ (stdenv.lib.optional (gnuplot != null) gnuplot)
++ (stdenv.lib.optional (python != null) python)
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ libGL libGLU libX11 ])
;
nativeBuildInputs = [
pkgconfig
gfortran
# Listed here as well because it's outputs are split
fftw
fftwSinglePrec
texinfo
]
++ (stdenv.lib.optional (sundials != null) sundials)
++ (stdenv.lib.optional enableJIT llvm)
++ (stdenv.lib.optionals enableQt [
qtscript
qttools
])
;
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;