diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-11-11 02:41:30 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-11-11 02:42:33 +0000 |
commit | b3e2a484531a57fa903f094ce8614a198c3bc6ff (patch) | |
tree | c894e298c3c47eef984db0d5179800372dc3f50e /pkgs/development/libraries/SDL_sound/default.nix | |
parent | 316ad962564899e7cd80edb780a5d43ec7b76a1b (diff) |
SDL_sound: enable on Darwin
Diffstat (limited to 'pkgs/development/libraries/SDL_sound/default.nix')
-rw-r--r-- | pkgs/development/libraries/SDL_sound/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix index 2a009a3b7104a..0e717c5303573 100644 --- a/pkgs/development/libraries/SDL_sound/default.nix +++ b/pkgs/development/libraries/SDL_sound/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, SDL, libvorbis, flac, libmikmod }: +{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }: stdenv.mkDerivation rec { name = "SDL_sound-${version}"; @@ -11,9 +11,11 @@ stdenv.mkDerivation rec { buildInputs = [ SDL libvorbis flac libmikmod ]; - meta = with stdenv.lib; { + configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; + + meta = with lib; { description = "SDL sound library"; - platforms = platforms.linux; + platforms = platforms.unix; license = licenses.lgpl21; homepage = https://www.icculus.org/SDL_sound/; }; |