nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 58 lines 1.0 kB view raw
1{ lib 2, aiohttp 3, attrs 4, backoff 5, boto3 6, buildPythonPackage 7, fetchFromGitHub 8, poetry-core 9, pyhumps 10, pytest-asyncio 11, pytestCheckHook 12, pythonOlder 13, warrant-lite 14}: 15 16buildPythonPackage rec { 17 pname = "pyoverkiz"; 18 version = "1.4.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "iMicknl"; 25 repo = "python-overkiz-api"; 26 rev = "v${version}"; 27 hash = "sha256-uaeSyRtnokUJ3jWTioVMuo+T3jFoH+SYTBT3HPCPjm8="; 28 }; 29 30 nativeBuildInputs = [ 31 poetry-core 32 ]; 33 34 propagatedBuildInputs = [ 35 attrs 36 aiohttp 37 backoff 38 pyhumps 39 boto3 40 warrant-lite 41 ]; 42 43 checkInputs = [ 44 pytest-asyncio 45 pytestCheckHook 46 ]; 47 48 pythonImportsCheck = [ 49 "pyoverkiz" 50 ]; 51 52 meta = with lib; { 53 description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs"; 54 homepage = "https://github.com/iMicknl/python-overkiz-api"; 55 license = with licenses; [ mit ]; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}