From 77cd83bb002a7863e0ce72e456228e96548a4734 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sat, 31 May 2025 18:16:19 +0200 Subject: [PATCH 1/3] python313Packages.msmart-ng: 2025.3.3 -> 2025.5.1 https://github.com/mill1000/midea-msmart/releases/tag/2025.5.0 https://github.com/mill1000/midea-msmart/releases/tag/2025.5.1 --- pkgs/development/python-modules/msmart-ng/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/msmart-ng/default.nix b/pkgs/development/python-modules/msmart-ng/default.nix index 8d1983474e18..d1564047c06b 100644 --- a/pkgs/development/python-modules/msmart-ng/default.nix +++ b/pkgs/development/python-modules/msmart-ng/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "msmart-ng"; - version = "2025.3.3"; + version = "2025.5.1"; pyproject = true; src = fetchFromGitHub { owner = "mill1000"; repo = "midea-msmart"; tag = version; - hash = "sha256-M8Gl6QXj0tRN7VFDhop47vINk8MeWSyCJ9bboo3j8Go="; + hash = "sha256-dZD93ZZiQLmWuMAR/nnYB7oGBBYr4YPEi+LdpSzweVc="; }; patches = [ From c3c817012463aca5a60a3cbe6e63494dac3ffab5 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sat, 31 May 2025 18:16:20 +0200 Subject: [PATCH 2/3] home-assistant-custom-components.midea_ac: 2025.4.0 -> 2025.5.1 https://github.com/mill1000/midea-ac-py/releases/tag/2025.5.0 https://github.com/mill1000/midea-ac-py/releases/tag/2025.5.1 --- .../home-assistant/custom-components/midea_ac/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/custom-components/midea_ac/package.nix b/pkgs/servers/home-assistant/custom-components/midea_ac/package.nix index 848ff9370fc6..683abdf36d8d 100644 --- a/pkgs/servers/home-assistant/custom-components/midea_ac/package.nix +++ b/pkgs/servers/home-assistant/custom-components/midea_ac/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "mill1000"; domain = "midea_ac"; - version = "2025.4.0"; + version = "2025.5.1"; src = fetchFromGitHub { owner = "mill1000"; repo = "midea-ac-py"; tag = version; - hash = "sha256-ZkLC0GhfN+jp1DWv30LNVCP+NEZywt9Pxycs2RWBzrM="; + hash = "sha256-6CNxhgygAyzpy3idj3RkVvI8WMHCfar9v0GG21Y7YKE="; }; dependencies = [ msmart-ng ]; From 85f8ed8bea477fbfaafb07051e364f957f1364e9 Mon Sep 17 00:00:00 2001 From: emilylange Date: Sat, 31 May 2025 18:16:22 +0200 Subject: [PATCH 3/3] python313Packages.msmart-ng: drop no longer needed PEP 639 revert At the time, setuptools did not yet implement PEP 639. This has changed with the release of setuptools v77.0.0, which has since landed in nixpkgs. As such, this patch is no longer needed. Ref: 7605633c219a4b3900b49cb1aaf3dafd562d80dc --- .../development/python-modules/msmart-ng/default.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkgs/development/python-modules/msmart-ng/default.nix b/pkgs/development/python-modules/msmart-ng/default.nix index d1564047c06b..05ca5a840362 100644 --- a/pkgs/development/python-modules/msmart-ng/default.nix +++ b/pkgs/development/python-modules/msmart-ng/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch2, # build-system setuptools, @@ -28,17 +27,6 @@ buildPythonPackage rec { hash = "sha256-dZD93ZZiQLmWuMAR/nnYB7oGBBYr4YPEi+LdpSzweVc="; }; - patches = [ - (fetchpatch2 { - # Revert until setuptools - # implements support for . - name = "revert-pyproject-license-declaration-pep639-syntax.patch"; - url = "https://github.com/mill1000/midea-msmart/commit/e5d6a982135e497c251095e421d3de4686f36056.patch?full_index=1"; - hash = "sha256-+mxmFGZd04MZY2C5eo4k1lFoXsM8XyeJNazShnjAseE="; - revert = true; - }) - ]; - build-system = [ setuptools setuptools-scm