python312Packages.python-matter-server: 6.0.1 -> 6.1.0

https://github.com/home-assistant-libs/python-matter-server/releases/tag/6.1.0
This commit is contained in:
Martin Weinelt
2024-06-07 13:35:16 +02:00
parent 9191512744
commit 5ebff117f5
2 changed files with 9 additions and 9 deletions
@@ -56,8 +56,8 @@ in
buildPythonPackage rec {
pname = "python-matter-server";
version = "6.0.1";
format = "pyproject";
version = "6.1.0";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -65,7 +65,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs";
repo = "python-matter-server";
rev = "refs/tags/${version}";
hash = "sha256-Ou2bNEDsN8yIslkf4Rf4UrMrcMxTBND/hBtEU1nM8a0=";
hash = "sha256-sY/FaMZ3p/AC63t1ku1Khgqi71G7u2O+ZPTuMPHFkuk=";
};
patches = [
@@ -81,14 +81,14 @@ buildPythonPackage rec {
--replace '--cov' ""
'';
nativeBuildInputs = [
build-system = [
setuptools
pythonRelaxDepsHook
];
pythonRelaxDeps = [ "home-assistant-chip-clusters" ];
propagatedBuildInputs = [
dependencies = [
aiohttp
aiorun
async-timeout
@@ -98,7 +98,7 @@ buildPythonPackage rec {
home-assistant-chip-clusters
];
passthru.optional-dependencies = {
optional-dependencies = {
server = [
cryptography
home-assistant-chip-core
@@ -109,11 +109,11 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-aiohttp
pytestCheckHook
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
] ++ lib.flatten (lib.attrValues optional-dependencies);
preCheck =
let
pythonEnv = python.withPackages (_: propagatedBuildInputs ++ nativeCheckInputs ++ [ pytest ]);
pythonEnv = python.withPackages (_: dependencies ++ nativeCheckInputs ++ [ pytest ]);
in
''
export PYTHONPATH=${pythonEnv}/${python.sitePackages}
+1 -1
View File
@@ -19088,7 +19088,7 @@ with pkgs;
python-matter-server = with python3Packages; toPythonApplication (
python-matter-server.overridePythonAttrs (oldAttrs: {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ oldAttrs.passthru.optional-dependencies.server;
dependencies = oldAttrs.dependencies ++ oldAttrs.optional-dependencies.server;
})
);