2024-04-04 22:59:30 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
python3,
|
2023-04-14 23:07:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonPackage rec {
|
|
|
|
pname = "ledfx";
|
2024-09-06 08:16:58 +00:00
|
|
|
version = "2.0.100";
|
2024-02-14 12:09:02 +00:00
|
|
|
pyproject = true;
|
2023-04-14 23:07:45 +00:00
|
|
|
|
2023-05-25 11:49:37 +00:00
|
|
|
src = fetchPypi {
|
2023-04-14 23:07:45 +00:00
|
|
|
inherit pname version;
|
2024-09-06 08:16:58 +00:00
|
|
|
hash = "sha256-IRwzm0ODeT+umLvIjNURdTE9igpJ03r+ArjNN3y//z0=";
|
2023-04-14 23:07:45 +00:00
|
|
|
};
|
|
|
|
|
2024-01-23 18:33:18 +00:00
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
|
|
|
pythonRemoveDeps = [
|
|
|
|
# not packaged
|
|
|
|
"rpi-ws281x"
|
|
|
|
];
|
2023-04-14 23:07:45 +00:00
|
|
|
|
2024-04-04 22:59:06 +00:00
|
|
|
build-system = with python3.pkgs; [
|
2024-01-23 18:33:18 +00:00
|
|
|
cython
|
|
|
|
poetry-core
|
2024-04-04 22:59:06 +00:00
|
|
|
];
|
|
|
|
|
2023-11-24 23:25:58 +00:00
|
|
|
|
2024-04-04 22:59:06 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2023-04-14 23:07:45 +00:00
|
|
|
aiohttp
|
|
|
|
aiohttp-cors
|
|
|
|
aubio
|
|
|
|
certifi
|
|
|
|
flux-led
|
2024-01-23 18:33:18 +00:00
|
|
|
python-dotenv
|
2023-04-14 23:07:45 +00:00
|
|
|
icmplib
|
2023-12-25 17:52:09 +00:00
|
|
|
mss
|
2023-04-14 23:07:45 +00:00
|
|
|
multidict
|
|
|
|
numpy
|
2023-06-30 20:11:54 +00:00
|
|
|
openrgb-python
|
2023-04-14 23:07:45 +00:00
|
|
|
paho-mqtt
|
|
|
|
pillow
|
|
|
|
psutil
|
2023-12-25 17:52:09 +00:00
|
|
|
pybase64
|
2023-04-14 23:07:45 +00:00
|
|
|
pyserial
|
|
|
|
pystray
|
2023-12-01 00:13:06 +00:00
|
|
|
python-mbedtls
|
|
|
|
python-osc
|
2023-05-03 22:14:03 +00:00
|
|
|
python-rtmidi
|
2023-04-14 23:07:45 +00:00
|
|
|
# rpi-ws281x # not packaged
|
|
|
|
requests
|
|
|
|
sacn
|
|
|
|
samplerate
|
|
|
|
sentry-sdk
|
2024-01-13 09:41:23 +00:00
|
|
|
setuptools
|
2023-04-14 23:07:45 +00:00
|
|
|
sounddevice
|
2024-01-23 18:33:18 +00:00
|
|
|
stupidartnet
|
2023-04-14 23:07:45 +00:00
|
|
|
uvloop
|
2024-05-24 21:45:06 +00:00
|
|
|
vnoise
|
2023-04-14 23:07:45 +00:00
|
|
|
voluptuous
|
|
|
|
zeroconf
|
|
|
|
];
|
|
|
|
|
2024-01-13 09:41:23 +00:00
|
|
|
# Project has no tests
|
2023-04-14 23:07:45 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-06-30 20:00:53 +00:00
|
|
|
description = "Network based LED effect controller with support for advanced real-time audio effects";
|
2023-04-14 23:07:45 +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-05-24 21:45:06 +00:00
|
|
|
mainProgram = "ledfx";
|
2023-04-14 23:07:45 +00:00
|
|
|
};
|
|
|
|
}
|