diff --git a/pkgs/development/python-modules/asyncarve/default.nix b/pkgs/development/python-modules/asyncarve/default.nix new file mode 100644 index 000000000000..dc760169c215 --- /dev/null +++ b/pkgs/development/python-modules/asyncarve/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 3e5495fae310..22a59fc7eee0 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -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" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b515694b0b91..d1d3d7ace86a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };