Merge pull request #226211 from SuperSandro2000/ledfx

authored by Sandro and committed by GitHub cd975dc7 b36139a9

+75
+73
pkgs/applications/audio/ledfx/default.nix
··· 1 + { lib 2 + , fetchpatch 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonPackage rec { 7 + pname = "ledfx"; 8 + version = "2.0.64"; 9 + format = "setuptools"; 10 + 11 + src = python3.pkgs.fetchPypi { 12 + inherit pname version; 13 + hash = "sha256-TKRa4PcMd0Jl94XD2WubOhmsxZaUplZeWKsuKz83Rl4="; 14 + }; 15 + 16 + patches = [ 17 + # replace tcp-latency which is not packaged with icmplib 18 + (fetchpatch { 19 + url = "https://github.com/LedFx/LedFx/commit/98cd4256846ae3bdae7094eeacb3b02a4807dc6f.patch"; 20 + excludes = [ 21 + # only used in win.spec file which is windows specific 22 + "hiddenimports.py" 23 + ]; 24 + hash = "sha256-p9fiLdjZI5fe5Qy2xbJIAtblp/7BwUxAvwjHQy5l9nQ="; 25 + }) 26 + ]; 27 + 28 + postPatch = '' 29 + substituteInPlace setup.py \ 30 + --replace '"openrgb-python~=0.2.10",' "" \ 31 + --replace '"pyupdater>=3.1.0",' "" \ 32 + --replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \ 33 + --replace "~=" ">=" 34 + ''; 35 + 36 + propagatedBuildInputs = with python3.pkgs; [ 37 + aiohttp 38 + aiohttp-cors 39 + aubio 40 + certifi 41 + cython 42 + flux-led 43 + icmplib 44 + multidict 45 + numpy 46 + # openrgb-python # not packaged 47 + paho-mqtt 48 + pillow 49 + psutil 50 + pyserial 51 + pystray 52 + # rpi-ws281x # not packaged 53 + requests 54 + sacn 55 + samplerate 56 + sentry-sdk 57 + sounddevice 58 + uvloop 59 + voluptuous 60 + zeroconf 61 + ]; 62 + 63 + # has no tests 64 + doCheck = false; 65 + 66 + meta = with lib; { 67 + description = "LedFx is a network based LED effect controller with support for advanced real-time audio effects"; 68 + homepage = "https://github.com/LedFx/LedFx"; 69 + changelog = "https://github.com/LedFx/LedFx/blob/${version}/CHANGELOG.rst"; 70 + license = licenses.gpl3Only; 71 + maintainers = teams.c3d2.members; 72 + }; 73 + }
+2
pkgs/top-level/all-packages.nix
··· 1367 1367 wine = null; 1368 1368 }; 1369 1369 1370 + ledfx = callPackage ../applications/audio/ledfx { }; 1371 + 1370 1372 libdislocator = callPackage ../tools/security/afl/libdislocator.nix { }; 1371 1373 1372 1374 afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };