From dc5ddbfb69a970a9b8f5d560b03b7950a486a04d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Mar 2025 09:28:43 +0100 Subject: [PATCH] python313Packages.flux-led: 1.1.3 -> 1.1.4 Changelog: https://github.com/Danielhiversen/flux_led/releases/tag/1.1.4 --- .../python-modules/flux-led/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/flux-led/default.nix b/pkgs/development/python-modules/flux-led/default.nix index 5982eaca2791..db3305a312c5 100644 --- a/pkgs/development/python-modules/flux-led/default.nix +++ b/pkgs/development/python-modules/flux-led/default.nix @@ -5,22 +5,23 @@ fetchFromGitHub, webcolors, pythonOlder, + pytest-asyncio, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "flux-led"; - version = "1.1.3"; + version = "1.1.4"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "Danielhiversen"; repo = "flux_led"; tag = version; - hash = "sha256-lFOxf9+O1APreIL/wQTZ+zSMx/MxPTRQrFWgw324myY="; + hash = "sha256-VYhXW3aqjDN7J+OkhYAOC0hGG5RkuFL0I7d6jbGKBvY="; }; postPatch = '' @@ -35,9 +36,10 @@ buildPythonPackage rec { webcolors ]; - nativeCheckInputs = [ pytestCheckHook ]; - - pytestFlagsArray = [ "tests.py" ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "flux_led" ];