python312Packages.ayla-iot-unofficial: init at 1.3.1

This commit is contained in:
Robert Schütz
2024-09-04 12:02:04 -07:00
parent 950404a7e6
commit a75ce75e11
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
requests,
setuptools,
ujson,
}:
buildPythonPackage rec {
pname = "ayla-iot-unofficial";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "rewardone";
repo = "ayla-iot-unofficial";
rev = "refs/tags/v${version}";
hash = "sha256-WfaDTKht+WEnozVFWGYwNvrC8Rr/IePxjNp5O7jz/9A=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
requests
ujson
];
pythonImportsCheck = [ "ayla_iot_unofficial" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [ "tests/ayla_iot_unofficial.py" ];
# tests interact with the actual API
doCheck = false;
meta = {
changelog = "https://github.com/rewardone/ayla-iot-unofficial/releases/tag/v${version}";
description = "Unofficial python library for interacting with the Ayla IoT API";
homepage = "https://github.com/rewardone/ayla-iot-unofficial";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -1110,6 +1110,8 @@ self: super: with self; {
axisregistry = callPackage ../development/python-modules/axisregistry { };
ayla-iot-unofficial = callPackage ../development/python-modules/ayla-iot-unofficial { };
azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { };
azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { };