Unverified Commit 617494ca authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python313Packages.msmart-ng: 2025.3.1 -> 2025.3.3,...

python313Packages.msmart-ng: 2025.3.1 -> 2025.3.3, home-assistant-custom-components.midea_ac: 2025.3.0 -> 2025.3.1 (#394007)
parents 250b695f c3b36902
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -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 <https://github.com/mill1000/midea-msmart/pull/209> until setuptools
      # implements support for <https://peps.python.org/pep-0639/>.
      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
+2 −2
Original line number Diff line number Diff line
@@ -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 ];