1{ lib
2, stdenv
3, buildPythonPackage
4, fetchPypi
5, tkinter
6, supercollider
7}:
8
9buildPythonPackage rec {
10 pname = "FoxDot";
11 version = "0.8.12";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
16 };
17
18 propagatedBuildInputs = [ tkinter ]
19 # we currently build SuperCollider only on Linux
20 # but FoxDot is totally usable on macOS with the official SuperCollider binary
21 ++ lib.optionals stdenv.isLinux [ supercollider ];
22
23 # Requires a running SuperCollider instance
24 doCheck = false;
25
26 meta = with lib; {
27 description = "Live coding music with SuperCollider";
28 homepage = "https://foxdot.org/";
29 license = licenses.cc-by-sa-40;
30 maintainers = with maintainers; [ mrmebelman ];
31 };
32}