Merge pull request #5104 from magnetophon/faust

Add faust, the functional audio stream programming language
This commit is contained in:
Peter Simons 2014-11-24 08:27:15 +01:00
commit 7aa5ec0034
3 changed files with 51 additions and 0 deletions

View file

@ -98,6 +98,7 @@
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
ludo = "Ludovic Courtès <ludo@gnu.org>";
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
magnetophon = "Bart Brouns <bart@magnetophon.nl>";
manveru = "Michael Fellinger <m.fellinger@gmail.com>";
marcweber = "Marc Weber <marco-oweber@gmx.de>";
matejc = "Matej Cotman <cotman.matej@gmail.com>";

View file

@ -0,0 +1,48 @@
{ fetchurl, stdenv, unzip }:
stdenv.mkDerivation rec {
version = "0.9.67";
name = "faust-${version}";
src = fetchurl {
url = "http://downloads.sourceforge.net/project/faudiostream/${name}.zip";
sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1";
};
buildInputs = [ unzip ];
patchPhase=''
sed -i '77,101d' Makefile
sed -i 's#?= $(shell uname -s)#:= Linux#g' architecture/osclib/oscpack/Makefile
sed -e "s@\$FAUST_INSTALL /usr/local /usr /opt /opt/local@$out@g" -i tools/faust2appls/faustpath
'';
postInstallPhase=''
rm -rf $out/include/
'';
makeFlags="PREFIX=$(out)";
meta = with stdenv.lib; {
description = "A functional programming language for realtime audio signal processing";
longDescription = ''
FAUST (Functional Audio Stream) is a functional programming
language specifically designed for real-time signal processing
and synthesis. FAUST targets high-performance signal processing
applications and audio plug-ins for a variety of platforms and
standards.
The Faust compiler translates DSP specifications into very
efficient C++ code. Thanks to the notion of architecture,
FAUST programs can be easily deployed on a large variety of
audio platforms and plugin formats (jack, alsa, ladspa, maxmsp,
puredata, csound, supercollider, pure, vst, coreaudio) without
any change to the FAUST code.
'';
homepage = http://faust.grame.fr/;
downloadPage = http://sourceforge.net/projects/faudiostream/files/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.magnetophon ];
};
}

View file

@ -12372,6 +12372,8 @@ let
fakenes = callPackage ../misc/emulators/fakenes { };
faust = callPackage ../applications/audio/faust { };
fceux = callPackage ../misc/emulators/fceux { };
foldingathome = callPackage ../misc/foldingathome { };