1{ 2 lib, 3 buildPythonPackage, 4 bx-py-utils, 5 colorlog, 6 fetchFromGitHub, 7 importlib-resources, 8 jaraco-classes, 9 jaraco-collections, 10 jaraco-itertools, 11 jaraco-context, 12 jaraco-functools, 13 jaraco-net, 14 keyring, 15 lomond, 16 more-itertools, 17 platformdirs, 18 pytest-responses, 19 pytestCheckHook, 20 requests, 21 requests-toolbelt, 22 setuptools, 23 setuptools-scm, 24}: 25 26buildPythonPackage rec { 27 pname = "jaraco-abode"; 28 version = "6.3.0"; 29 pyproject = true; 30 31 src = fetchFromGitHub { 32 owner = "jaraco"; 33 repo = "jaraco.abode"; 34 tag = "v${version}"; 35 hash = "sha256-AqnyQdLkg2vobVJ84X15AB0Yyj3gZf4rP3pEdk3MqZ4="; 36 }; 37 38 build-system = [ 39 setuptools 40 setuptools-scm 41 ]; 42 43 dependencies = [ 44 requests 45 lomond 46 colorlog 47 keyring 48 requests-toolbelt 49 jaraco-collections 50 jaraco-context 51 jaraco-classes 52 jaraco-net 53 more-itertools 54 importlib-resources 55 bx-py-utils 56 platformdirs 57 jaraco-itertools 58 jaraco-functools 59 ]; 60 61 nativeCheckInputs = [ 62 pytest-responses 63 pytestCheckHook 64 ]; 65 66 pythonImportsCheck = [ "jaraco.abode" ]; 67 68 preCheck = '' 69 export HOME=$TEMP 70 ''; 71 72 disabledTests = [ 73 "_cookie_string" 74 "test_cookies" 75 "test_empty_cookies" 76 "test_invalid_cookies" 77 # Issue with the regex 78 "test_camera_capture_no_control_URLs" 79 ]; 80 81 meta = { 82 changelog = "https://github.com/jaraco/jaraco.abode/blob/${src.tag}/NEWS.rst"; 83 homepage = "https://github.com/jaraco/jaraco.abode"; 84 description = "Library interfacing to the Abode home security system"; 85 license = lib.licenses.mit; 86 maintainers = with lib.maintainers; [ 87 jamiemagee 88 dotlambda 89 ]; 90 }; 91}