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