Unverified Commit 6eaf4f42 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #217774 from dotlambda/vallox-websocket-api-3.1.0

python310Packages.vallox-websocket-api: 3.0.0 -> 3.1.0
parents 2e901f85 1462929d
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -5,22 +5,22 @@
, setuptools
, construct
, websockets
, asynctest
, pytest-asyncio
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "vallox-websocket-api";
  version = "3.0.0";
  version = "3.1.0";
  format = "pyproject";

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "yozik04";
    repo = "vallox_websocket_api";
    rev = "refs/tags/${version}";
    hash = "sha256-iy5ipW7ldvLWhfxgPlWcsFeKrAXqtyypveAX74u8zmo=";
    hash = "sha256-JbTuBzRSgMTPSgWEEAJGc8R44VLHiMr4qocbBjpJBmk=";
  };

  nativeBuildInputs = [
@@ -33,10 +33,12 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    asynctest
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "vallox_websocket_api" ];

  meta = {
    description = "Async API for Vallox ventilation units";
    homepage = "https://github.com/yozik04/vallox_websocket_api";