2021-10-05 16:15:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, tkinter
|
|
|
|
, supercollider
|
|
|
|
}:
|
2019-06-25 19:18:05 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "FoxDot";
|
2021-06-05 06:10:53 +00:00
|
|
|
version = "0.8.12";
|
2019-06-25 19:18:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-05 06:10:53 +00:00
|
|
|
sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
|
2019-06-25 19:18:05 +00:00
|
|
|
};
|
|
|
|
|
2021-10-05 16:15:40 +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 ];
|
2019-06-25 19:18:05 +00:00
|
|
|
|
|
|
|
# Requires a running SuperCollider instance
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-06-25 19:18:05 +00:00
|
|
|
description = "Live coding music with SuperCollider";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://foxdot.org/";
|
2019-06-25 19:18:05 +00:00
|
|
|
license = licenses.cc-by-sa-40;
|
|
|
|
maintainers = with maintainers; [ mrmebelman ];
|
|
|
|
};
|
|
|
|
}
|