nixpkgs/pkgs/development/libraries/SDL_sound/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

20 lines
491 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";
platforms = stdenv.lib.platforms.linux;
};
}