pythonPackages.audiotools: Fix darwin build

This commit is contained in:
Josef Kemetmueller 2017-09-12 00:38:50 +02:00 committed by Daiderd Jordan
parent 422adc3063
commit 6d760d970f
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

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