nixpkgs/pkgs/development/python-modules/foxdot/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
878 B
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
setuptools,
tkinter,
supercollider,
}:
buildPythonPackage rec {
pname = "foxdot";
version = "0.9.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-9dIaqrGcYpZeWlRlymRvG9YnTRav0zktfmUpFBlN/7E=";
};
build-system = [ setuptools ];
dependencies = [
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 = {
description = "Live coding music with SuperCollider";
mainProgram = "FoxDot";
homepage = "https://foxdot.org/";
license = lib.licenses.cc-by-sa-40;
maintainers = with lib.maintainers; [ mrmebelman ];
};
}