diff options
author | Bart Brouns <bart@magnetophon.nl> | 2014-11-24 05:27:56 +0100 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2014-11-24 05:27:56 +0100 |
commit | 0edc635d8088840508cb3f49bff921a94f366746 (patch) | |
tree | e36a0699a7ae8b11696572345210d844df1aaf72 /pkgs/applications/audio/faust | |
parent | acefc2220964f0b4cd94dda0fa852c3bdef30754 (diff) | |
download | nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar.gz nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar.bz2 nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar.lz nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar.xz nixlib-0edc635d8088840508cb3f49bff921a94f366746.tar.zst nixlib-0edc635d8088840508cb3f49bff921a94f366746.zip |
Add faust, the functional audio stream programming language
Diffstat (limited to 'pkgs/applications/audio/faust')
-rw-r--r-- | pkgs/applications/audio/faust/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/audio/faust/default.nix b/pkgs/applications/audio/faust/default.nix new file mode 100644 index 000000000000..e9f47088f527 --- /dev/null +++ b/pkgs/applications/audio/faust/default.nix @@ -0,0 +1,44 @@ +{ fetchurl, stdenv, unzip, pkgconfig, gcc }: + +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 pkgconfig gcc ]; + + patchPhase='' + 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 + ''; + + + 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 ]; + }; +} + |