summary refs log tree commit diff
path: root/pkgs/applications/audio/csound/default.nix
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2012-10-18 03:13:21 +0200
committerMarc Weber <marco-oweber@gmx.de>2012-10-18 06:24:32 +0200
commitb18be4e5e5dc01dd2631e6428f026edaf5764eab (patch)
tree778f31f8ce529ea2ad2784aa444f6850e7fcc4e1 /pkgs/applications/audio/csound/default.nix
parent070f38d48d131afe1f395d961009a7cdb3492f76 (diff)
downloadnixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar.gz
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar.bz2
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar.lz
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar.xz
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.tar.zst
nixpkgs-b18be4e5e5dc01dd2631e6428f026edaf5764eab.zip
adding csound
Diffstat (limited to 'pkgs/applications/audio/csound/default.nix')
-rw-r--r--pkgs/applications/audio/csound/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/audio/csound/default.nix b/pkgs/applications/audio/csound/default.nix
new file mode 100644
index 00000000000..9e4ee01810c
--- /dev/null
+++ b/pkgs/applications/audio/csound/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, cmake, libsndfile, flex, bison
+, alsaLib ? null
+, pulseaudio ? null
+, 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 {
+  name = "csound5.18.02";
+
+  enableParallelBuilding = true;
+
+  src = fetchurl {
+    url = http://netcologne.dl.sourceforge.net/project/csound/csound5/csound5.18/Csound5.18.02.tar.gz;
+    sha256 = "4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8";
+  };
+
+  buildInputs = [ cmake libsndfile flex bison alsaLib pulseaudio tcltk ];
+
+  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;
+  };
+}
+