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

37 lines
1,005 B
Nix
Raw Normal View History

2012-10-18 01:13:21 +00:00
{ stdenv, fetchurl, cmake, libsndfile, flex, bison
, alsaLib ? null
, libpulseaudio ? null
2012-10-18 01:13:21 +00: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 01:13:21 +00:00
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
2016-02-07 20:40:46 +00:00
2012-10-18 01:13:21 +00:00
src = fetchurl {
2015-10-25 18:05:35 +00:00
url = mirror://sourceforge/csound/Csound6.04.tar.gz;
sha256 = "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g";
2012-10-18 01:13:21 +00:00
};
buildInputs = [ cmake libsndfile flex bison alsaLib libpulseaudio tcltk ];
2012-10-18 01:13:21 +00: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";
2012-10-18 01:13:21 +00:00
homepage = http://www.csounds.com/;
license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
};
}