Skip to content

Commit

Permalink
pythonPackages.audiotools: Fix darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit 6d760d9)
  • Loading branch information
knedlsepp authored and LnL7 committed Sep 12, 2017
1 parent 30d6f55 commit 947f295
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/top-level/python-packages.nix
Expand Up @@ -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";
Expand All @@ -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;
};
};
Expand Down

0 comments on commit 947f295

Please sign in to comment.