Merge pull request #330927 from pyrox0/home-assistant/arve-component

home-assistant: support arve component
This commit is contained in:
Martin Weinelt 2024-07-29 22:43:26 +02:00 committed by GitHub
commit ca2d4c66c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchPypi,
mashumaro,
orjson,
aiohttp,
yarl,
setuptools,
}:
buildPythonPackage rec {
pname = "asyncarve";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-5h56Sr0kPLrNPU70W90WsjmWax/N90dRMJ6lI5Mg86E=";
};
build-system = [ setuptools ];
dependencies = [
mashumaro
orjson
aiohttp
yarl
];
# No tests in repo
doCheck = false;
pythonImportsCheck = [ "asyncarve" ];
meta = with lib; {
description = "Simple Arve library";
homepage = "https://github.com/arvetech/asyncarve";
license = with licenses; [ mit ];
maintainers = with maintainers; [ pyrox0 ];
};
}

View File

@ -270,7 +270,8 @@
pexpect
];
"arve" = ps: with ps; [
]; # missing inputs: asyncarve
asyncarve
];
"arwn" = ps: with ps; [
paho-mqtt_1
];
@ -5281,6 +5282,7 @@
"aquacell"
"aranet"
"arcam_fmj"
"arve"
"aseko_pool_live"
"assist_pipeline"
"asterisk_mbox"

View File

@ -877,6 +877,8 @@ self: super: with self; {
asyauth = callPackage ../development/python-modules/asyauth { };
asyncarve = callPackage ../development/python-modules/asyncarve { };
async-dns = callPackage ../development/python-modules/async-dns { };
async-generator = callPackage ../development/python-modules/async-generator { };