Unverified Commit ca2d4c66 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

home-assistant: support arve component
parents f4263763 2fec1cfe
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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 { };