python3Packages.foxdot: enable darwin build

by not requiring SuperCollider.

User can install the official binary of SuperCollider and use that.
This commit is contained in:
Pavol Rusnak 2021-10-05 18:15:40 +02:00
parent 5e770ac32f
commit 739dbd6347
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -1,4 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, tkinter, supercollider }:
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, tkinter
, supercollider
}:
buildPythonPackage rec {
pname = "FoxDot";
@ -9,7 +15,10 @@ buildPythonPackage rec {
sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
};
propagatedBuildInputs = [ tkinter supercollider ];
propagatedBuildInputs = [ tkinter ]
# we currently build SuperCollider only on Linux
# but FoxDot is totally usable on macOS with the official SuperCollider binary
++ lib.optionals stdenv.isLinux [ supercollider ];
# Requires a running SuperCollider instance
doCheck = false;