python3Packages.simplisafe-python: init at 9.6.9

This commit is contained in:
Fabian Affolter 2021-03-20 23:31:08 +01:00
parent 2adc24feb8
commit 6d92b004ce
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,61 @@
{ lib
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, python-engineio
, python-socketio
, pythonOlder
, pytz
, voluptuous
, websockets
}:
buildPythonPackage rec {
pname = "simplisafe-python";
version = "9.6.9";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "1q5w5pvrgj94bzd5wig79l4hipkfrcdah54rvwyi7b8q46gw77sg";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
python-engineio
python-socketio
pytz
voluptuous
websockets
];
checkInputs = [
aresponses
asynctest
pytest-asyncio
pytest-cov
pytestCheckHook
];
disabledTestPaths = [ "examples/" ];
pythonImportsCheck = [ "simplipy" ];
meta = with lib; {
description = "Python library the SimpliSafe API";
homepage = "https://simplisafe-python.readthedocs.io/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7631,6 +7631,8 @@ in {
simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { };
simplisafe-python = callPackage ../development/python-modules/simplisafe-python { };
simpy = callPackage ../development/python-modules/simpy { };
singledispatch = callPackage ../development/python-modules/singledispatch { };