Merge pull request #162599 from fabaff/fix-blinkpy

python3Packages.blinkpy: disable failing tests on Python 3.10
This commit is contained in:
Fabian Affolter 2022-03-03 17:54:44 +01:00 committed by GitHub
commit 6c5e6e24f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";