From 9a4cba0171e71e8820e2b5d2f8234d7e5bfe56fd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Feb 2024 13:20:06 +0100 Subject: [PATCH] python311Packages.python-matter-server: 5.5.3 -> 5.7.0b1 https://github.com/home-assistant-libs/python-matter-server/releases/tag/5.6.0 https://github.com/home-assistant-libs/python-matter-server/releases/tag/5.7.0b1 --- .../python-modules/python-matter-server/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-matter-server/default.nix b/pkgs/development/python-modules/python-matter-server/default.nix index 570ee23fcbf4..0d15f0ecedd4 100644 --- a/pkgs/development/python-modules/python-matter-server/default.nix +++ b/pkgs/development/python-modules/python-matter-server/default.nix @@ -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 = [