3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyoverkiz/default.nix
2022-06-01 05:21:05 +00:00

59 lines
1,015 B
Nix

{ lib
, aiohttp
, attrs
, backoff
, boto3
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pyhumps
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, warrant-lite
}:
buildPythonPackage rec {
pname = "pyoverkiz";
version = "1.4.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iMicknl";
repo = "python-overkiz-api";
rev = "refs/tags/v${version}";
hash = "sha256-PVRNfpV6LwZNzSQaDJnDztNUdzosa2yIdXRLXpPMVW4=";
};
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 ];
};
}