depot/third_party/nixpkgs/pkgs/development/python-modules/foxdot/default.nix
Default email 5e2a688410 Project import generated by Copybara.
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
2021-10-06 10:57:05 -03:00

32 lines
788 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, tkinter
, supercollider
}:
buildPythonPackage rec {
pname = "FoxDot";
version = "0.8.12";
src = fetchPypi {
inherit pname version;
sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
};
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 ];
# Requires a running SuperCollider instance
doCheck = false;
meta = with lib; {
description = "Live coding music with SuperCollider";
homepage = "https://foxdot.org/";
license = licenses.cc-by-sa-40;
maintainers = with maintainers; [ mrmebelman ];
};
}