Robert Schütz
2025-06-19 10:12:03 -07:00
parent a52971ae50
commit 2bbfbcb8c2
@@ -57,16 +57,16 @@ in
buildPythonPackage rec {
pname = "python-matter-server";
version = "7.0.1";
version = "8.0.0";
pyproject = true;
disabled = pythonOlder "3.10";
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "python-matter-server";
rev = "refs/tags/${version}";
hash = "sha256-kwN7mLSKrxsAydp7PnN7kTvvi5zQSpXVwMh2slL6aIA=";
tag = version;
hash = "sha256-9dMcofwvGYBnI+9y7D+TDwz+uLgBVhcS4iVU7AUqclI=";
};
patches = [
@@ -77,7 +77,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"'
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
build-system = [
@@ -124,12 +124,12 @@ buildPythonPackage rec {
"tests/server/ota/test_dcl.py"
];
meta = with lib; {
changelog = "https://github.com/home-assistant-libs/python-matter-server/releases/tag/${version}";
meta = {
changelog = "https://github.com/home-assistant-libs/python-matter-server/releases/tag/${src.tag}";
description = "Python server to interact with Matter";
mainProgram = "matter-server";
homepage = "https://github.com/home-assistant-libs/python-matter-server";
license = licenses.asl20;
teams = [ teams.home-assistant ];
license = lib.licenses.asl20;
teams = [ lib.teams.home-assistant ];
};
}