Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 61 lines 1.1 kB view raw
1{ lib 2, aiohttp 3, aresponses 4, asynctest 5, buildPythonPackage 6, fetchFromGitHub 7, poetry-core 8, pytest-asyncio 9, pytest-cov 10, pytestCheckHook 11, python-engineio 12, python-socketio 13, pythonOlder 14, pytz 15, voluptuous 16, websockets 17}: 18 19buildPythonPackage rec { 20 pname = "simplisafe-python"; 21 version = "9.6.10"; 22 format = "pyproject"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchFromGitHub { 26 owner = "bachya"; 27 repo = pname; 28 rev = version; 29 sha256 = "0cc5kxxishxhkg1nqmgbh36yxs8yjfynmimzjnaqkqfrs9iq46mr"; 30 }; 31 32 nativeBuildInputs = [ poetry-core ]; 33 34 propagatedBuildInputs = [ 35 aiohttp 36 python-engineio 37 python-socketio 38 pytz 39 voluptuous 40 websockets 41 ]; 42 43 checkInputs = [ 44 aresponses 45 asynctest 46 pytest-asyncio 47 pytest-cov 48 pytestCheckHook 49 ]; 50 51 disabledTestPaths = [ "examples/" ]; 52 53 pythonImportsCheck = [ "simplipy" ]; 54 55 meta = with lib; { 56 description = "Python library the SimpliSafe API"; 57 homepage = "https://simplisafe-python.readthedocs.io/"; 58 license = with licenses; [ mit ]; 59 maintainers = with maintainers; [ fab ]; 60 }; 61}