2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
python3,
|
2023-04-29 16:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonPackage rec {
|
|
|
|
pname = "ledfx";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.0.99";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-04-29 16:46:19 +00:00
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-pwrAVcIwZ3RDYFMDk80q5aVSqLTQ5weZqgB3GRRu2ig=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
|
|
|
pythonRemoveDeps = [
|
|
|
|
# not packaged
|
|
|
|
"rpi-ws281x"
|
|
|
|
];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = with python3.pkgs; [
|
2024-01-25 14:12:00 +00:00
|
|
|
cython
|
2024-01-02 11:29:13 +00:00
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2023-04-29 16:46:19 +00:00
|
|
|
aiohttp
|
|
|
|
aiohttp-cors
|
|
|
|
aubio
|
|
|
|
certifi
|
|
|
|
flux-led
|
2024-01-25 14:12:00 +00:00
|
|
|
python-dotenv
|
2023-04-29 16:46:19 +00:00
|
|
|
icmplib
|
2024-01-02 11:29:13 +00:00
|
|
|
mss
|
2023-04-29 16:46:19 +00:00
|
|
|
multidict
|
|
|
|
numpy
|
2023-07-15 17:15:38 +00:00
|
|
|
openrgb-python
|
2023-04-29 16:46:19 +00:00
|
|
|
paho-mqtt
|
|
|
|
pillow
|
|
|
|
psutil
|
2024-01-02 11:29:13 +00:00
|
|
|
pybase64
|
2023-04-29 16:46:19 +00:00
|
|
|
pyserial
|
|
|
|
pystray
|
2024-01-02 11:29:13 +00:00
|
|
|
python-mbedtls
|
|
|
|
python-osc
|
2023-05-24 13:37:59 +00:00
|
|
|
python-rtmidi
|
2023-04-29 16:46:19 +00:00
|
|
|
# rpi-ws281x # not packaged
|
|
|
|
requests
|
|
|
|
sacn
|
|
|
|
samplerate
|
|
|
|
sentry-sdk
|
2024-01-25 14:12:00 +00:00
|
|
|
setuptools
|
2023-04-29 16:46:19 +00:00
|
|
|
sounddevice
|
2024-01-25 14:12:00 +00:00
|
|
|
stupidartnet
|
2023-04-29 16:46:19 +00:00
|
|
|
uvloop
|
2024-06-05 15:53:02 +00:00
|
|
|
vnoise
|
2023-04-29 16:46:19 +00:00
|
|
|
voluptuous
|
|
|
|
zeroconf
|
|
|
|
];
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
# Project has no tests
|
2023-04-29 16:46:19 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-08-10 07:59:29 +00:00
|
|
|
description = "Network based LED effect controller with support for advanced real-time audio effects";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://github.com/LedFx/LedFx";
|
|
|
|
changelog = "https://github.com/LedFx/LedFx/blob/${version}/CHANGELOG.rst";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = teams.c3d2.members;
|
2024-06-05 15:53:02 +00:00
|
|
|
mainProgram = "ledfx";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
}
|