Unverified Commit 7605633c authored by emilylange's avatar emilylange
Browse files

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.
parent f0d4569a
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