Martin Weinelt ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00

38 lines
882 B
Nix

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