pianonix: try getting piano-led-visualizer to run

Still did not work, using raspberrypi os
This commit is contained in:
2025-12-06 09:20:52 +01:00
parent 194d4bcec0
commit a12b50edfa
5 changed files with 54 additions and 13 deletions

View File

@@ -10,15 +10,12 @@ python3.pkgs.buildPythonPackage rec {
src = fetchFromGitHub {
owner = "rpi-ws281x";
repo = "rpi-ws281x-pytho";
repo = "rpi-ws281x-python";
rev = "v${version}";
sha256 = "sha256-tnjvFDBa+sNX6dK6/I1/rRt62k15kTP+9J8eyFRFs/I=";
sha256 = "sha256-CVPibDs1QLeXhtoEBw3JplKIIUpzahjgJKy8GVy99Wk=";
fetchSubmodules = true;
deepClone = true;
};
# sourceRoot = "${src}/library";
format = "setuptools";
propagatedBuildInputs = with python3.pkgs; [
@@ -30,9 +27,6 @@ python3.pkgs.buildPythonPackage rec {
sourceRoot="$sourceRoot/library"
'';
# Some of the bindings compile C code, so you may need these
nativeBuildInputs = [python3.pkgs.setuptools pkgs.scons];
meta = with lib; {
description = "Python bindings for the rpi_ws281x C library";
homepage = "https://github.com/rpi-ws281x/rpi-ws281x-python";