add SuperCollider 3.6.6

This commit is contained in:
Song Wenwu 2014-01-04 21:39:35 +08:00
parent 2c55194859
commit 5f3a737d79
2 changed files with 43 additions and 0 deletions

View File

@ -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
];
}

View File

@ -3387,6 +3387,11 @@ let
spidermonkey_1_8_0rc1 = callPackage ../development/interpreters/spidermonkey/1.8.0-rc1.nix { };
spidermonkey_185 = callPackage ../development/interpreters/spidermonkey/185-1.0.0.nix { };
supercollider = callPackage ../development/interpreters/supercollider {
qt = qt4;
fftw = fftwSinglePrec;
};
sysPerl = callPackage ../development/interpreters/perl/sys-perl { };
tcl = callPackage ../development/interpreters/tcl { };