1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

SDL_sound: enable on Darwin

This commit is contained in:
Orivej Desh 2018-11-11 02:41:30 +00:00
parent 316ad96256
commit b3e2a48453

View file

@ -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/;
};