python3Packages.blinkpy: disable failing tests on Python 3.10

This commit is contained in:
Fabian Affolter 2022-03-03 10:54:24 +01:00
parent ef8c2381d7
commit 9c88964863

View File

@ -5,11 +5,16 @@
, python-slugify
, requests
, pytestCheckHook
, pythonAtLeast
, pythonOlder
}:
buildPythonPackage rec {
pname = "blinkpy";
version = "0.18.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fronzbot";
@ -38,6 +43,12 @@ buildPythonPackage rec {
"blinkpy.sync_module"
];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
"test_download_video_exit"
"test_parse_camera_not_in_list"
"test_parse_downloaded_items"
];
meta = with lib; {
description = "Python library for the Blink Camera system";
homepage = "https://github.com/fronzbot/blinkpy";