Merge pull request #117069 from fabaff/simplisafe-python
This commit is contained in:
commit
90d39143d4
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -741,7 +741,7 @@
|
||||||
"sighthound" = ps: with ps; [ pillow simplehound ];
|
"sighthound" = ps: with ps; [ pillow simplehound ];
|
||||||
"signal_messenger" = ps: with ps; [ ]; # missing inputs: pysignalclirestapi
|
"signal_messenger" = ps: with ps; [ ]; # missing inputs: pysignalclirestapi
|
||||||
"simplepush" = ps: with ps; [ ]; # missing inputs: simplepush
|
"simplepush" = ps: with ps; [ ]; # missing inputs: simplepush
|
||||||
"simplisafe" = ps: with ps; [ ]; # missing inputs: simplisafe-python
|
"simplisafe" = ps: with ps; [ simplisafe-python ];
|
||||||
"simulated" = ps: with ps; [ ];
|
"simulated" = ps: with ps; [ ];
|
||||||
"sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms
|
"sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms
|
||||||
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
|
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
|
||||||
|
|
|
@ -274,6 +274,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"search"
|
"search"
|
||||||
"shell_command"
|
"shell_command"
|
||||||
"shopping_list"
|
"shopping_list"
|
||||||
|
"simplisafe"
|
||||||
"simulated"
|
"simulated"
|
||||||
"sensor"
|
"sensor"
|
||||||
"smarttub"
|
"smarttub"
|
||||||
|
|
|
@ -7633,6 +7633,8 @@ in {
|
||||||
|
|
||||||
simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { };
|
simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { };
|
||||||
|
|
||||||
|
simplisafe-python = callPackage ../development/python-modules/simplisafe-python { };
|
||||||
|
|
||||||
simpy = callPackage ../development/python-modules/simpy { };
|
simpy = callPackage ../development/python-modules/simpy { };
|
||||||
|
|
||||||
singledispatch = callPackage ../development/python-modules/singledispatch { };
|
singledispatch = callPackage ../development/python-modules/singledispatch { };
|
||||||
|
|
Loading…
Reference in a new issue