2012-10-18 03:13:21 +02:00
|
|
|
{ stdenv, fetchurl, cmake, libsndfile, flex, bison
|
|
|
|
, alsaLib ? null
|
2015-05-27 21:42:15 +02:00
|
|
|
, libpulseaudio ? null
|
2012-10-18 03:13:21 +02:00
|
|
|
, tcltk ? null
|
|
|
|
|
|
|
|
# maybe csound can be compiled with support for those, see configure output
|
|
|
|
# , ladspa ? null
|
|
|
|
# , fluidsynth ? null
|
|
|
|
# , jack ? null
|
|
|
|
# , gmm ? null
|
|
|
|
# , wiiuse ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-10-25 19:05:35 +01:00
|
|
|
name = "csound-6.04";
|
2012-10-18 03:13:21 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 21:40:46 +01:00
|
|
|
|
2012-10-18 03:13:21 +02:00
|
|
|
src = fetchurl {
|
2015-10-25 19:05:35 +01:00
|
|
|
url = mirror://sourceforge/csound/Csound6.04.tar.gz;
|
|
|
|
sha256 = "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g";
|
2012-10-18 03:13:21 +02:00
|
|
|
};
|
|
|
|
|
2015-05-27 21:42:15 +02:00
|
|
|
buildInputs = [ cmake libsndfile flex bison alsaLib libpulseaudio tcltk ];
|
2012-10-18 03:13:21 +02:00
|
|
|
|
|
|
|
meta = {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
|
2012-10-18 03:13:21 +02:00
|
|
|
homepage = http://www.csounds.com/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|