2018-11-11 02:41:30 +00:00
|
|
|
{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }:
|
2010-07-07 21:44:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "SDL_sound";
|
2016-08-22 03:24:00 +00:00
|
|
|
version = "1.0.3";
|
2010-07-07 21:44:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://icculus.org/SDL_sound/downloads/${pname}-${version}.tar.gz";
|
2010-07-07 21:44:09 +00: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 21:44:09 +00:00
|
|
|
description = "SDL sound library";
|
2018-11-11 02:41:30 +00:00
|
|
|
platforms = platforms.unix;
|
2016-08-22 03:24:00 +00:00
|
|
|
license = licenses.lgpl21;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.icculus.org/SDL_sound/";
|
2010-07-07 21:44:09 +00:00
|
|
|
};
|
|
|
|
}
|