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

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

python313Packages.msmart-ng: 2025.3.3 -> 2025.5.1, home-assistant-custom-components.midea_ac: 2025.4.0 -> 2025.5.1 (#412711)
parents ff96e54b 85f8ed8b
Loading
Loading
Loading
Loading
+2 −14
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,

  # build-system
  setuptools,
@@ -18,27 +17,16 @@

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 = [
    (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.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 ];