mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
attrs,
|
|
backoff,
|
|
boto3,
|
|
buildPythonPackage,
|
|
cattrs,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
warrant-lite,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "pyoverkiz";
|
|
version = "2.0.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iMicknl";
|
|
repo = "python-overkiz-api";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-kKaT9YimH9o5yI7x9T9TSrcvwKEQ5M/HRnZp5S4xbGE=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
attrs
|
|
backoff
|
|
cattrs
|
|
];
|
|
|
|
optional-dependencies = {
|
|
nexity = [
|
|
boto3
|
|
warrant-lite
|
|
];
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyoverkiz" ];
|
|
|
|
meta = {
|
|
description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs";
|
|
homepage = "https://github.com/iMicknl/python-overkiz-api";
|
|
changelog = "https://github.com/iMicknl/python-overkiz-api/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|