nixpkgs-suyu/pkgs/development/libraries/SDL_sound/default.nix

23 lines
606 B
Nix
Raw Normal View History

2018-11-11 03:41:30 +01:00
{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }:
stdenv.mkDerivation rec {
name = "SDL_sound-${version}";
version = "1.0.3";
src = fetchurl {
url = "https://icculus.org/SDL_sound/downloads/${name}.tar.gz";
sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r";
};
buildInputs = [ SDL libvorbis flac libmikmod ];
2018-11-11 03:41:30 +01:00
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with lib; {
description = "SDL sound library";
2018-11-11 03:41:30 +01:00
platforms = platforms.unix;
license = licenses.lgpl21;
homepage = https://www.icculus.org/SDL_sound/;
};
}