parabolic: 2024.5.0 -> 2025.1.4 (#378350)
[NixPkgs.git] / pkgs / development / python-modules / foxdot / default.nix
blobf9faef8be2bdffd2aff28483e071ac0c5657f67f
2   lib,
3   stdenv,
4   buildPythonPackage,
5   fetchPypi,
6   tkinter,
7   supercollider,
8 }:
10 buildPythonPackage rec {
11   pname = "foxdot";
12   version = "0.8.12";
14   src = fetchPypi {
15     pname = "FoxDot";
16     inherit version;
17     sha256 = "528999da55ad630e540a39c0eaeacd19c58c36f49d65d24ea9704d0781e18c90";
18   };
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.hostPlatform.isLinux [ supercollider ];
26   # Requires a running SuperCollider instance
27   doCheck = false;
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   };