diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-07-07 21:44:09 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-07-07 21:44:09 +0000 |
commit | 6b701731ecb4623c924889dfd1cb896959a83269 (patch) | |
tree | 579466f00fca0068a549bbfe6f980253031bebf3 /pkgs/development/libraries/SDL_sound/default.nix | |
parent | 26dc245fb2a3681b4a2c9f17313a490716dce5f3 (diff) |
Adding gltron.
svn path=/nixpkgs/trunk/; revision=22519
Diffstat (limited to 'pkgs/development/libraries/SDL_sound/default.nix')
-rw-r--r-- | pkgs/development/libraries/SDL_sound/default.nix | 18 |
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 0000000000000..624faacde4f2b --- /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"; + }; +} |