@@ -4,6 +4,7 @@
6, buildPythonPackage
6, buildPythonPackage
7, fetchFromGitHub
8, fetchFromGitHub
8, poetry-core
9, poetry-core
9, pytest-aiohttp
10, pytest-aiohttp
@@ -18,15 +19,16 @@
19buildPythonPackage rec {
20buildPythonPackage rec {
20 pname = "simplisafe-python";
21 pname = "simplisafe-python";
21− version = "2021.10.0";
22+ version = "2021.11.0";
22 format = "pyproject";
23 format = "pyproject";
23− disabled = pythonOlder "3.7";
25+ disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
27 src = fetchFromGitHub {
26 owner = "bachya";
28 owner = "bachya";
27 repo = pname;
29 repo = pname;
28 rev = version;
30 rev = version;
29− sha256 = "sha256-J0uMlczR7y5wDchaOjp5d3Vf36WfRmt7d51koGiNHBk=";
31+ sha256 = "sha256-0SPUgdIU6zTUrvQucPHl8JGhXqFtNwwXc9GXlnarjBY=";
32 nativeBuildInputs = [ poetry-core ];
34 nativeBuildInputs = [ poetry-core ];
@@ -34,6 +36,7 @@ buildPythonPackage rec {
34 propagatedBuildInputs = [
36 propagatedBuildInputs = [
38 types-pytz
41 types-pytz
39 voluptuous
42 voluptuous
@@ -48,15 +51,25 @@ buildPythonPackage rec {
48 pytestCheckHook
51 pytestCheckHook
55+ substituteInPlace pyproject.toml \
56+ --replace 'docutils = "<0.18"' 'docutils = "*"'
51 disabledTests = [
59 disabledTests = [
52 # simplipy/api.py:253: InvalidCredentialsError
60 # simplipy/api.py:253: InvalidCredentialsError
53 "test_request_error_failed_retry"
61 "test_request_error_failed_retry"
54 "test_update_error"
62 "test_update_error"
57− disabledTestPaths = [ "examples/" ];
65+ disabledTestPaths = [
66+ # Ignore the examples as they are prefixed with test_
59− pythonImportsCheck = [ "simplipy" ];
70+ pythonImportsCheck = [
61 __darwinAllowLocalNetworking = true;
74 __darwinAllowLocalNetworking = true;