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

Merge pull request #292076 from mweinelt/home-assistant-chips-wheels-2024.2.1

python311Packages.home-assistant-chip-{core,clusters}: 2024.1.0 -> 2024.2.1; python-matter-server: 5.5.3 -> 5.7.0b1
parents 59e3db96 9a4cba01
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

buildPythonPackage rec {
  pname = "home-assistant-chip-clusters";
  version = "2024.1.0";
  version = "2024.2.1";
  format = "wheel";

  src = fetchPypi {
@@ -15,7 +15,7 @@ buildPythonPackage rec {
    pname = "home_assistant_chip_clusters";
    dist = "py3";
    python = "py3";
    hash = "sha256-4btkqAHbwAsyGV1LjngEoeTT5qyI8dtqFVTp0lIFwmg=";
    hash = "sha256-QMsfs9gUWeaz1LfMZF5J2OFVCPnuckZvvF9x5bQ5uZY=";
  };

  propagatedBuildInputs = [
+3 −5
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
# runtime
, glib
, libnl
, openssl_1_1

# propagates
, aenum
@@ -29,7 +28,7 @@

buildPythonPackage rec {
  pname = "home-assistant-chip-core";
  version = "2024.1.0";
  version = "2024.2.1";
  format = "wheel";

  disabled = pythonOlder "3.7";
@@ -38,11 +37,11 @@ buildPythonPackage rec {
    system = {
      "aarch64-linux" = {
        name = "aarch64";
        hash = "sha256-UiikZ2DVhTqX6WYfiE8sp2e52BMlyoQnDjLap/efmNc=";
        hash = "sha256-gHnTuiyCD9A9Ru8xhniNEpCyn+W9zYnCAoTJeGOW7TI=";
      };
      "x86_64-linux" = {
        name = "x86_64";
        hash = "sha256-/+gegUMd2n7MpJvdilS5VWefXc0tuRcLrXBBXSH35b0=";
        hash = "sha256-gKZKcCXQ8PvZAPV2QRQl+u+r95CVLBDDDgtC0MT7xw4=";
      };
    }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
  in fetchPypi {
@@ -62,7 +61,6 @@ buildPythonPackage rec {
  buildInputs = [
    glib
    libnl
    openssl_1_1
  ];

  propagatedBuildInputs = [
+10 −3
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@

# build
, setuptools
, pythonRelaxDepsHook

# propagates
, aiohttp
@@ -29,7 +30,7 @@

buildPythonPackage rec {
  pname = "python-matter-server";
  version = "5.5.3";
  version = "5.7.0b1";
  format = "pyproject";

  disabled = pythonOlder "3.10";
@@ -38,16 +39,22 @@ buildPythonPackage rec {
    owner = "home-assistant-libs";
    repo = "python-matter-server";
    rev = "refs/tags/${version}";
    hash = "sha256-8daAABR5l8ZEX+PR4XrxRHlLllgnOVE4Q9yY/7UQXHw=";
    hash = "sha256-icWp5DiUoTn1l0wNFk83jCpbVsb6MN2qM3QvI6uZaic=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'version = "0.0.0"' 'version = "${version}"'
      --replace 'version = "0.0.0"' 'version = "${version}"' \
      --replace '--cov' ""
  '';

  nativeBuildInputs = [
    setuptools
    pythonRelaxDepsHook
  ];

  pythonRelaxDeps = [
    "home-assistant-chip-clusters"
  ];

  propagatedBuildInputs = [