summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL_sound
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-07-07 21:44:09 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-07-07 21:44:09 +0000
commit6b701731ecb4623c924889dfd1cb896959a83269 (patch)
tree579466f00fca0068a549bbfe6f980253031bebf3 /pkgs/development/libraries/SDL_sound
parent26dc245fb2a3681b4a2c9f17313a490716dce5f3 (diff)
downloadnixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar.gz
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar.bz2
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar.lz
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar.xz
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.tar.zst
nixpkgs-6b701731ecb4623c924889dfd1cb896959a83269.zip
Adding gltron.
svn path=/nixpkgs/trunk/; revision=22519
Diffstat (limited to 'pkgs/development/libraries/SDL_sound')
-rw-r--r--pkgs/development/libraries/SDL_sound/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix
new file mode 100644
index 00000000000..624faacde4f
--- /dev/null
+++ b/pkgs/development/libraries/SDL_sound/default.nix
@@ -0,0 +1,18 @@
+{stdenv, fetchurl, SDL, libvorbis, flac, libmikmod}:
+
+stdenv.mkDerivation rec {
+  name = "SDL_sound-1.0.3";
+
+  src = fetchurl {
+    url = "http://icculus.org/SDL_sound/downloads/${name}.tar.gz";
+    sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r";
+  };
+
+  buildInputs = [ SDL libvorbis flac libmikmod ];
+
+  postInstall = "ln -s $out/include/SDL/SDL_sound.h $out/include/";
+
+  meta = {
+    description = "SDL sound library";
+  };
+}