From e42aeeaa28879654c7d7c33324ab115d82bf5cc0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 19:24:57 +0000 Subject: [PATCH 1/3] ledfx: 2.0.94 -> 2.0.96 --- pkgs/applications/audio/ledfx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/ledfx/default.nix b/pkgs/applications/audio/ledfx/default.nix index 62ba0f90ace9..d847090d5c2d 100644 --- a/pkgs/applications/audio/ledfx/default.nix +++ b/pkgs/applications/audio/ledfx/default.nix @@ -5,12 +5,12 @@ python3.pkgs.buildPythonPackage rec { pname = "ledfx"; - version = "2.0.94"; + version = "2.0.96"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-l498NXt3Ib9QLTWoJcpngAwkbY6JqLbVLKhTWQye7Fs="; + hash = "sha256-nvPHAnoD5j1rneeuMufQkXj8YWXau2zJYug+Avpe87I="; }; pythonRelaxDeps = true; From f7239c622701c1075f634327f5de09837eb6cdfb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 00:59:06 +0200 Subject: [PATCH 2/3] ledfx: refactor --- pkgs/applications/audio/ledfx/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/ledfx/default.nix b/pkgs/applications/audio/ledfx/default.nix index d847090d5c2d..a5141da6e1d6 100644 --- a/pkgs/applications/audio/ledfx/default.nix +++ b/pkgs/applications/audio/ledfx/default.nix @@ -20,13 +20,16 @@ python3.pkgs.buildPythonPackage rec { "rpi-ws281x" ]; - nativeBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ cython poetry-core + ]; + + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ aiohttp aiohttp-cors aubio From 28788504236ade6be160758e6339ee071dc31b25 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 00:59:30 +0200 Subject: [PATCH 3/3] ledfx: format with nixfmt --- pkgs/applications/audio/ledfx/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/ledfx/default.nix b/pkgs/applications/audio/ledfx/default.nix index a5141da6e1d6..bcbe1bc397d3 100644 --- a/pkgs/applications/audio/ledfx/default.nix +++ b/pkgs/applications/audio/ledfx/default.nix @@ -1,6 +1,7 @@ -{ lib -, fetchPypi -, python3 +{ + lib, + fetchPypi, + python3, }: python3.pkgs.buildPythonPackage rec { @@ -25,9 +26,7 @@ python3.pkgs.buildPythonPackage rec { poetry-core ]; - nativeBuildInputs = with python3.pkgs; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; dependencies = with python3.pkgs; [ aiohttp