From 7605633c219a4b3900b49cb1aaf3dafd562d80dc Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 28 Mar 2025 14:35:35 +0100 Subject: [PATCH 1/2] python313Packages.msmart-ng: 2025.3.1 -> 2025.3.3 https://github.com/mill1000/midea-msmart/releases/tag/2025.3.2 https://github.com/mill1000/midea-msmart/releases/tag/2025.3.3 This also reverts the pep639 license format change in pyproject.toml because setuptools has yet to implement pep639. --- .../python-modules/msmart-ng/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/msmart-ng/default.nix b/pkgs/development/python-modules/msmart-ng/default.nix index 0f01c755834f..8d1983474e18 100644 --- a/pkgs/development/python-modules/msmart-ng/default.nix +++ b/pkgs/development/python-modules/msmart-ng/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch2, # build-system setuptools, @@ -17,16 +18,27 @@ buildPythonPackage rec { pname = "msmart-ng"; - version = "2025.3.1"; + version = "2025.3.3"; pyproject = true; src = fetchFromGitHub { owner = "mill1000"; repo = "midea-msmart"; tag = version; - hash = "sha256-hTYqRJn/ixseHHezfTOG0UzdQmnpn4hACijYOMtwtT8="; + hash = "sha256-M8Gl6QXj0tRN7VFDhop47vINk8MeWSyCJ9bboo3j8Go="; }; + 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 From c3b36902e41b61f7514182138cd121fda749d33b Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 28 Mar 2025 14:38:20 +0100 Subject: [PATCH 2/2] home-assistant-custom-components.midea_ac: 2025.3.0 -> 2025.3.1 https://github.com/mill1000/midea-ac-py/releases/tag/2025.3.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 8588b6045e72..9befc39ade5e 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.3.0"; + version = "2025.3.1"; src = fetchFromGitHub { owner = "mill1000"; repo = "midea-ac-py"; tag = version; - hash = "sha256-UJS9z+t+Tb/w7yRHKXJ6HoQ4uS1guM8PYl0OcLz4EJM="; + hash = "sha256-oO+t0my72PwWWUAzr8blA3Q8uJyICZNcfoOHsLFL3MQ="; }; dependencies = [ msmart-ng ];