1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/libraries/SDL_mixer/default.nix
Tobias Hammerschmidt aa1f102e1c added SDL_net, some minor modifications to SDL_image and SDL_mixer
svn path=/nixpkgs/trunk/; revision=10528
2008-02-06 21:17:42 +00:00

25 lines
557 B
Nix

args: with args;
stdenv.mkDerivation (rec {
pname = "SDL_mixer";
version = "1.2.8";
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.libsdl.org/projects/${pname}/release/${name}.tar.gz";
sha256 = "a8222a274778ff16d0e3ee49a30db27a48a4d357169a915fc599a764e405e0b6";
};
buildInputs = [SDL libogg libvorbis];
configureFlags = "--disable-music-ogg-shared";
postInstall = "ln -s \${out}/include/SDL/SDL_mixer.h \${out}/include/";
meta = {
description = "
SDL multi-channel audio mixer library.
";
};
})