Merge pull request #188115 from jmesmon/rubberband-fix

rubberband: fix build on darwin

authored by Christian Kögler and committed by GitHub ff07cc83 63a61084

+4 -3
+4 -3
pkgs/development/libraries/rubberband/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, libsamplerate, libsndfile, fftw 2 - , vamp-plugin-sdk, ladspaH, meson, ninja }: 3 4 stdenv.mkDerivation rec { 5 pname = "rubberband"; ··· 11 }; 12 13 nativeBuildInputs = [ pkg-config meson ninja ]; 14 - buildInputs = [ libsamplerate libsndfile fftw vamp-plugin-sdk ladspaH ]; 15 makeFlags = [ "AR:=$(AR)" ]; 16 17 meta = with lib; { ··· 20 # commercial license available as well, see homepage. You'll get some more optimized routines 21 license = licenses.gpl2Plus; 22 maintainers = [ maintainers.goibhniu maintainers.marcweber ]; 23 - platforms = platforms.linux; 24 }; 25 }
··· 1 { lib, stdenv, fetchurl, pkg-config, libsamplerate, libsndfile, fftw 2 + , vamp-plugin-sdk, ladspaH, meson, ninja, darwin }: 3 4 stdenv.mkDerivation rec { 5 pname = "rubberband"; ··· 11 }; 12 13 nativeBuildInputs = [ pkg-config meson ninja ]; 14 + buildInputs = [ libsamplerate libsndfile fftw vamp-plugin-sdk ladspaH ] ++ lib.optionals stdenv.isDarwin 15 + (with darwin.apple_sdk.frameworks; [Accelerate CoreGraphics CoreVideo]); 16 makeFlags = [ "AR:=$(AR)" ]; 17 18 meta = with lib; { ··· 21 # commercial license available as well, see homepage. You'll get some more optimized routines 22 license = licenses.gpl2Plus; 23 maintainers = [ maintainers.goibhniu maintainers.marcweber ]; 24 + platforms = platforms.all; 25 }; 26 }