Unverified Commit 87306bd8 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python311Packages.intellifire4py: 2.2.2 -> 3.2.9

parent 2ca7c1c8
Loading
Loading
Loading
Loading
+20 −21
Original line number Diff line number Diff line
{ lib
, aenum
, aiohttp
, asynctest
, buildPythonPackage
, fetchFromGitHub
, httpx
, poetry-core
, pydantic
, pytest-mock
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, pythonOlder
, requests
, rich
}:

buildPythonPackage rec {
  pname = "intellifire4py";
  version = "2.2.2";
  format = "setuptools";
  version = "3.1.29";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "jeeftor";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-iqlKfpnETLqQwy5sNcK2x/TgmuN2hCfYoHEFK2WWVXI=";
    rev = "refs/tags/v${version}";
    hash = "sha256-isAVq45UnKB8uMg7bhehpxIk5OOLcWx+VNZhJ8dE52Y=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    aenum
    aiohttp
    httpx
    pydantic
    requests
  ];

  nativeCheckInputs = [
    asynctest
    pytest-mock
    pytestCheckHook
  ];

  disabledTests = [
    # Test file is missing
    "test_json_files"
    rich
  ];

  pythonImportsCheck = [
    "intellifire4py"
  ];
  nativeCheckInputs = [
    pytest-asyncio
    pytest-httpx
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Module to read Intellifire fireplace status data";