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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "SDL_sound";
|
2016-08-22 04:24:00 +01:00
|
|
|
version = "1.0.3";
|
2010-07-07 22:44:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://icculus.org/SDL_sound/downloads/${pname}-${version}.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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.icculus.org/SDL_sound/";
|
2010-07-07 22:44:09 +01:00
|
|
|
};
|
|
|
|
}
|