nixpkgs/pkgs/applications/audio/csound/default.nix

37 lines
1015 B
Nix
Raw Normal View History

2012-10-18 02:13:21 +01:00
{ stdenv, fetchurl, cmake, libsndfile, flex, bison
, alsaLib ? null
, libpulseaudio ? null
2012-10-18 02:13:21 +01: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 18:05:35 +00:00
name = "csound-6.04";
2012-10-18 02:13:21 +01:00
enableParallelBuilding = true;
src = fetchurl {
2015-10-25 18:05:35 +00:00
url = mirror://sourceforge/csound/Csound6.04.tar.gz;
sha256 = "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g";
2012-10-18 02:13:21 +01:00
};
buildInputs = [ cmake libsndfile flex bison alsaLib libpulseaudio tcltk ];
2012-10-18 02:13:21 +01:00
NIX_LDFLAGS="-L${stdenv.cc.libc.out}/lib";
2012-10-18 02:13:21 +01:00
meta = {
description = "sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
homepage = http://www.csounds.com/;
license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}