mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 23:06:35 +01:00
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>
40 lines
878 B
Nix
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 ];
|
|
};
|
|
}
|