2021-10-06 13:57:05 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, tkinter
|
|
|
|
, supercollider
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "FoxDot";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.8.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-06 13:57:05 +00:00
|
|
|
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 ];
|
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";
|
|
|
|
homepage = "https://foxdot.org/";
|
|
|
|
license = licenses.cc-by-sa-40;
|
|
|
|
maintainers = with maintainers; [ mrmebelman ];
|
|
|
|
};
|
|
|
|
}
|