2018-11-11 02:41:30 +00:00
|
|
|
{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }:
|
2010-07-07 22:44:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-22 04:24:00 +01:00
|
|
|
name = "SDL_sound-${version}";
|
|
|
|
version = "1.0.3";
|
2010-07-07 22:44:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://icculus.org/SDL_sound/downloads/${name}.tar.gz";
|
2010-07-07 22:44:09 +01:00
|
|
|
sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ SDL libvorbis flac libmikmod ];
|
|
|
|
|
2018-11-11 02:41:30 +00:00
|
|
|
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2010-07-07 22:44:09 +01:00
|
|
|
description = "SDL sound library";
|
2018-11-11 02:41:30 +00:00
|
|
|
platforms = platforms.unix;
|
2016-08-22 04:24:00 +01:00
|
|
|
license = licenses.lgpl21;
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://www.icculus.org/SDL_sound/;
|
2010-07-07 22:44:09 +01:00
|
|
|
};
|
|
|
|
}
|