nixpkgs/pkgs/applications/audio/ledfx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.3 KiB
Nix
Raw Normal View History

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-04-04 19:24:57 +00:00
version = "2.0.96";
pyproject = true;
2023-04-14 23:07:45 +00:00
src = fetchPypi {
2023-04-14 23:07:45 +00:00
inherit pname version;
2024-04-04 19:24:57 +00:00
hash = "sha256-nvPHAnoD5j1rneeuMufQkXj8YWXau2zJYug+Avpe87I=";
2023-04-14 23:07:45 +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; [
cython
poetry-core
2024-04-04 22:59:06 +00:00
];
2024-04-04 22:59:30 +00:00
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
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
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
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
stupidartnet
2023-04-14 23:07:45 +00:00
uvloop
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; {
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;
};
}