blob: a1a4cf3b33c6f3e0caa8b9014eef8b1c17d26f05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
{ lib
, fetchPypi
, python3
}:
python3.pkgs.buildPythonPackage rec {
pname = "ledfx";
version = "2.0.86";
pyproject= true;
src = fetchPypi {
inherit pname version;
hash = "sha256-miOGMsrvK3A3SYnd+i/lqB+9GOHtO4F3RW8NkxDgFqU=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
--replace "sentry-sdk==1.38.0" "sentry-sdk" \
--replace "~=" ">="
'';
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
aiohttp
aiohttp-cors
aubio
certifi
cython
flux-led
icmplib
mss
multidict
numpy
openrgb-python
paho-mqtt
pillow
psutil
pybase64
pyserial
pystray
python-mbedtls
python-osc
python-rtmidi
# rpi-ws281x # not packaged
requests
sacn
samplerate
sentry-sdk
sounddevice
uvloop
voluptuous
zeroconf
];
# has no tests
doCheck = false;
meta = with lib; {
description = "Network based LED effect controller with support for advanced real-time audio effects";
homepage = "https://github.com/LedFx/LedFx";
changelog = "https://github.com/LedFx/LedFx/blob/${version}/CHANGELOG.rst";
license = licenses.gpl3Only;
maintainers = teams.c3d2.members;
};
}
|