diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-01-12 12:27:06 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-01-12 12:29:24 +0100 |
commit | a2c316288c8f3714e57dc1037d7a993a2088ab18 (patch) | |
tree | ee4af0b96a5bc0e55b92c8d76465b333a698a260 /pkgs/development/interpreters | |
parent | 51713fbbfcaf819f176df8f3ce75f57880aeb690 (diff) | |
parent | a0070a9157d7d145eed22160cec2562d24032013 (diff) | |
download | nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar.gz nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar.bz2 nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar.lz nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar.xz nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.tar.zst nixlib-a2c316288c8f3714e57dc1037d7a993a2088ab18.zip |
Merge master into stdenv-updates
Conflicts: pkgs/development/lisp-modules/stumpwm/default.nix (auto-solved) pkgs/top-level/all-packages.nix (trivial)
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/octave/default.nix | 32 | ||||
-rw-r--r-- | pkgs/development/interpreters/supercollider/default.nix | 38 |
2 files changed, 61 insertions, 9 deletions
diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 428d97eaf794..eb7e925561c8 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -1,22 +1,36 @@ {stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull, -libX11, graphicsmagick, pcre, liblapack, texLive, pkgconfig, mesa, fltk, -fftw, fftwSinglePrec, zlib, curl, qrupdate }: +libX11, graphicsmagick, pcre, liblapack, pkgconfig, mesa, fltk, +fftw, fftwSinglePrec, zlib, curl, qrupdate +, qt ? null, ghostscript ? null, llvm ? null, hdf5 ? null,glpk ? null +, suitesparse ? null, gnuplot ? null, openjdk ? null, python ? null +}: let - version = "3.6.4"; + version = "3.8.0"; in stdenv.mkDerivation rec { name = "octave-${version}"; src = fetchurl { url = "mirror://gnu/octave/${name}.tar.bz2"; - sha256 = "0qn9s7jrjmrn6w3rvp8d7vfnymyv0spnxzrp9l7p8p8zb7wms67s"; + sha256 = "1yclb8p4mcx9xcjajyynxfnc5spw90lp44d84v56ksrlvp3314si"; }; buildInputs = [ gfortran readline ncurses perl flex texinfo qhull libX11 graphicsmagick pcre liblapack pkgconfig mesa fltk zlib curl - fftw fftwSinglePrec qrupdate ]; - - doCheck = true; + fftw fftwSinglePrec qrupdate ] + ++ (stdenv.lib.optional (qt != null) qt) + ++ (stdenv.lib.optional (ghostscript != null) ghostscript) + ++ (stdenv.lib.optional (llvm != null) llvm) + ++ (stdenv.lib.optional (hdf5 != null) hdf5) + ++ (stdenv.lib.optional (glpk != null) glpk) + ++ (stdenv.lib.optional (suitesparse != null) suitesparse) + ++ (stdenv.lib.optional (openjdk != null) openjdk) + ++ (stdenv.lib.optional (gnuplot != null) gnuplot) + ++ (stdenv.lib.optional (python != null) python) + ; + + # there is a mysterious sh: command not found + doCheck = false; /* The build failed with a missing libranlib.la in hydra, but worked on my computer. I think they have concurrency problems */ @@ -27,7 +41,7 @@ stdenv.mkDerivation rec { # Keep a copy of the octave tests detailed results in the output # derivation, because someone may care postInstall = '' - cp test/fntests.log $out/share/octave/${name}-fntests.log + cp test/fntests.log $out/share/octave/${name}-fntests.log || true ''; passthru = { @@ -38,7 +52,7 @@ stdenv.mkDerivation rec { meta = { homepage = http://octave.org/; license = "GPLv3+"; - maintainers = with stdenv.lib.maintainers; [viric]; + maintainers = with stdenv.lib.maintainers; [viric raskin]; platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix new file mode 100644 index 000000000000..77a9392ba8bb --- /dev/null +++ b/pkgs/development/interpreters/supercollider/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, cmake, pkgconfig +, jackaudio, libsndfile, fftw, curl +, libXt, qt +}: + +stdenv.mkDerivation rec { + name = "supercollider-3.6.6"; + + meta = { + description = "Programming language for real time audio synthesis"; + homepage = "http://supercollider.sourceforge.net/"; + license = stdenv.lib.licenses.gpl3Plus; + platforms = stdenv.lib.platforms.linux; + }; + + src = fetchurl { + url = "mirror://sourceforge/supercollider/Source/3.6/SuperCollider-3.6.6-Source.tar.bz2"; + sha256 = "11khrv6jchs0vv0lv43am8lp0x1rr3h6l2xj9dmwrxcpdayfbalr"; + }; + + # QGtkStyle unavailable + patchPhase = '' + substituteInPlace editors/sc-ide/widgets/code_editor/autocompleter.cpp \ + --replace Q_WS_X11 Q_GTK_STYLE + ''; + + cmakeFlags = [ + "-DSC_WII=OFF" + "-DSC_EL=OFF" + ]; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ + jackaudio libsndfile fftw curl + libXt qt + ]; +} |