mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
6b701731ec
svn path=/nixpkgs/trunk/; revision=22519
19 lines
447 B
Nix
19 lines
447 B
Nix
{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";
|
|
};
|
|
}
|