python3Packages.simplisafe-python: 9.6.10 -> 10.0.0

This commit is contained in:
Fabian Affolter 2021-05-07 08:52:53 +02:00 committed by Martin Weinelt
parent b86e821a3a
commit 2f76491b28

View File

@ -6,45 +6,37 @@
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
, pytest-asyncio , pytest-asyncio
, pytest-cov
, pytestCheckHook , pytestCheckHook
, python-engineio
, python-socketio
, pythonOlder , pythonOlder
, pytz , pytz
, voluptuous , voluptuous
, websockets
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "simplisafe-python"; pname = "simplisafe-python";
version = "9.6.10"; version = "10.0.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bachya"; owner = "bachya";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0cc5kxxishxhkg1nqmgbh36yxs8yjfynmimzjnaqkqfrs9iq46mr"; sha256 = "sha256-VF8R+dty54GuWvYs/OqWhfGtOVieuxtfndQUxHhu5lc=";
}; };
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
python-engineio
python-socketio
pytz pytz
voluptuous voluptuous
websockets
]; ];
checkInputs = [ checkInputs = [
aresponses aresponses
asynctest asynctest
pytest-asyncio pytest-asyncio
pytest-cov
pytestCheckHook pytestCheckHook
]; ];
@ -52,6 +44,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "simplipy" ]; pythonImportsCheck = [ "simplipy" ];
__darwinAllowLocalNetworking = true;
meta = with lib; { meta = with lib; {
description = "Python library the SimpliSafe API"; description = "Python library the SimpliSafe API";
homepage = "https://simplisafe-python.readthedocs.io/"; homepage = "https://simplisafe-python.readthedocs.io/";