diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e6ca96a1520a..bc4826e12025 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -668,6 +668,12 @@ in { name = "audiotools-${version}"; version = "3.1.1"; + buildInputs = optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ + AudioToolbox + AudioUnit + CoreServices + ]); + src = pkgs.fetchurl { url = "https://github.com/tuffy/python-audio-tools/archive/v${version}.tar.gz"; sha256 = "0ymlxvqkqhzk4q088qwir3dq0zgwqlrrdfnq7f0iq97g05qshm2c"; @@ -676,7 +682,6 @@ in { meta = { description = "Utilities and Python modules for handling audio"; homepage = "http://audiotools.sourceforge.net/"; - platforms = platforms.linux; license = licenses.gpl2Plus; }; };