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

home-assistant: 2024.8.3 -> 2024.9.0 (#338722)

parents 88027250 be6abc1b
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -3,16 +3,16 @@
, python3
}:

python3.pkgs.buildPythonPackage rec {
python3.pkgs.buildPythonApplication rec {
  pname = "zigpy-cli";
  version = "1.0.4";
  version = "1.0.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "zigpy";
    repo = "zigpy-cli";
    rev = "refs/tags/v${version}";
    hash = "sha256-OxVSEBo+wFEBZnWpmQ4aUZWppCh0oavxlQvwDXiWiG8=";
    hash = "sha256-69E6PkrCE5S498pO33uEz7g2dV41H0vNfFinUHDATTQ=";
  };

  postPatch = ''
@@ -21,11 +21,11 @@ python3.pkgs.buildPythonPackage rec {
      --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
  '';

  nativeBuildInputs = with python3.pkgs; [
  build-system = with python3.pkgs; [
    setuptools
  ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3.pkgs; [
    bellows
    click
    coloredlogs
@@ -33,7 +33,7 @@ python3.pkgs.buildPythonPackage rec {
    zigpy
    zigpy-deconz
    zigpy-xbee
    # zigpy-zboss # not packaged
    zigpy-zboss
    zigpy-zigate
    zigpy-znp
  ];
@@ -53,7 +53,7 @@ python3.pkgs.buildPythonPackage rec {
    description = "Command line interface for zigpy";
    mainProgram = "zigpy";
    homepage = "https://github.com/zigpy/zigpy-cli";
    changelog = "https://github.com/zigpy/zigpy/releases/tag/v${version}";
    changelog = "https://github.com/zigpy/zigpy-cli/releases/tag/v${version}";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ SuperSandro2000 ];
    platforms = platforms.linux;
+4 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

buildPythonPackage rec {
  pname = "aioautomower";
  version = "2024.7.3";
  version = "2024.8.0";
  pyproject = true;

  disabled = pythonOlder "3.11";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
    owner = "Thomas55555";
    repo = "aioautomower";
    rev = "refs/tags/${version}";
    hash = "sha256-tjdpQglhg78DsmtIHo5QDsP1U8f0fnaasF0IYUtrGh4=";
    hash = "sha256-FrQpRz+HESmk837L4bLDiRpJOZXstMJQ8Ic58B9Ac10=";
  };

  postPatch = ''
@@ -58,6 +58,8 @@ buildPythonPackage rec {
  disabledTests = [
    # File is missing
    "test_standard_mower"
    # Call no found
    "test_post_commands"
  ];

  meta = with lib; {
+57 −0
Original line number Diff line number Diff line
{
  aiohttp,
  attrs,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  multidict,
  pytest-aiohttp,
  pytestCheckHook,
  setuptools,
  yarl,
}:

buildPythonPackage rec {
  pname = "aiohttp-sse-client2";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "compat-fork";
    repo = "aiohttp-sse-client";
    rev = "refs/tags/${version}";
    hash = "sha256-uF39gpOYzNotVVYQShUoiuvYAhSRex2T1NfuhgwSCR4=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail "pytest-runner" ""
  '';

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    attrs
    multidict
    yarl
  ];

  pythonImportsCheck = [ "aiohttp_sse_client2" ];

  nativeCheckInputs = [
    pytest-aiohttp
    pytestCheckHook
  ];

  # tests access the internet
  doCheck = false;

  meta = {
    changelog = "https://github.com/compat-fork/aiohttp-sse-client/blob/${src.rev}/README.rst#fork-changelog";
    description = "Server-Sent Event python client library based on aiohttp";
    homepage = "https://github.com/compat-fork/aiohttp-sse-client";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+4 −7
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  orjson,
  poetry-core,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  syrupy,
@@ -16,7 +17,7 @@

buildPythonPackage rec {
  pname = "aiomealie";
  version = "0.8.1";
  version = "0.9.2";
  pyproject = true;

  disabled = pythonOlder "3.11";
@@ -25,14 +26,9 @@ buildPythonPackage rec {
    owner = "joostlek";
    repo = "python-mealie";
    rev = "refs/tags/v${version}";
    hash = "sha256-1n/AMXEoJJ/jftYzYHvo+jTSasNEqnFVAYqlipHFmGc=";
    hash = "sha256-rvizMeV1+tsBQiZl2Am4SjLrFkyhR/SvvLFwOTVP6wI=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "--cov" ""
  '';

  build-system = [ poetry-core ];

  dependencies = [
@@ -45,6 +41,7 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
    syrupy
  ];
+0 −5
Original line number Diff line number Diff line
@@ -26,11 +26,6 @@ buildPythonPackage rec {
    hash = "sha256-acu0EWP/k0qyylPtM8IBxhJhhQhXpbG2NheYpD8RTG8=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools>=68.1" "setuptools"
  '';

  build-system = [ setuptools ];

  dependencies = [
Loading