Merge pull request #29253 from knedlsepp/fix-pythonPackages.audiotools

pythonPackages.audiotools: Fix darwin build
This commit is contained in:
Daiderd Jordan 2017-09-12 19:54:31 +02:00 committed by GitHub
commit cd286d4d28

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