8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
58 lines
1,006 B
Nix
58 lines
1,006 B
Nix
{ lib
|
|
, aiohttp
|
|
, attrs
|
|
, backoff
|
|
, boto3
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pyhumps
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, warrant-lite
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyoverkiz";
|
|
version = "1.3.12";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iMicknl";
|
|
repo = "python-overkiz-api";
|
|
rev = "v${version}";
|
|
hash = "sha256-guL//OHiwlKN55kyoRPIUXuoHOVrho+vSgeV3SAdfNM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
attrs
|
|
aiohttp
|
|
backoff
|
|
pyhumps
|
|
boto3
|
|
warrant-lite
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pyoverkiz"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs";
|
|
homepage = "https://github.com/iMicknl/python-overkiz-api";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|