2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
tkinter,
|
|
|
|
supercollider,
|
2021-10-06 13:57:05 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "foxdot";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.8.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "FoxDot";
|
|
|
|
inherit version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs =
|
|
|
|
[ tkinter ]
|
2021-10-06 13:57:05 +00:00
|
|
|
# we currently build SuperCollider only on Linux
|
|
|
|
# but FoxDot is totally usable on macOS with the official SuperCollider binary
|
|
|
|
++ lib.optionals stdenv.isLinux [ supercollider ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Requires a running SuperCollider instance
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Live coding music with SuperCollider";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "FoxDot";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://foxdot.org/";
|
|
|
|
license = licenses.cc-by-sa-40;
|
|
|
|
maintainers = with maintainers; [ mrmebelman ];
|
|
|
|
};
|
|
|
|
}
|