Unverified Commit 6f5e4cb2 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.python-matter-server: 7.0.1 -> 8.0.0 (#416497)

parents b06f5569 2bbfbcb8
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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 ];
  };
}