From c2127eaef0b7c8a40c3ae071b2c95783cebff674 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 30 Jun 2022 23:47:49 +0200 Subject: [PATCH] python310Packages.zigpy-cc: disable failing test --- .../development/python-modules/zigpy-cc/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zigpy-cc/default.nix b/pkgs/development/python-modules/zigpy-cc/default.nix index 376b74c266cb..a89ad26ae78f 100644 --- a/pkgs/development/python-modules/zigpy-cc/default.nix +++ b/pkgs/development/python-modules/zigpy-cc/default.nix @@ -7,11 +7,14 @@ , pytest-asyncio , pytestCheckHook , pythonOlder -, zigpy }: +, zigpy +}: buildPythonPackage rec { pname = "zigpy-cc"; version = "0.5.2"; + format = "setuptools"; + # https://github.com/Martiusweb/asynctest/issues/152 # broken by upstream python bug with asynctest and # is used exclusively by home-assistant with python 3.8 @@ -39,10 +42,16 @@ buildPythonPackage rec { "test_incoming_msg" "test_incoming_msg2" "test_deser" + # Fails in sandbox + "tests/test_application.py " + ]; + + pythonImportsCheck = [ + "zigpy_cc" ]; meta = with lib; { - description = "A library which communicates with Texas Instruments CC2531 radios for zigpy"; + description = "Library which communicates with Texas Instruments CC2531 radios for zigpy"; homepage = "https://github.com/zigpy/zigpy-cc"; license = licenses.gpl3Plus; maintainers = with maintainers; [ etu mvnetbiz ];