Unverified Commit 85f8ed8b authored by emilylange's avatar emilylange
Browse files

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: 7605633c
parent c3c81701
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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 <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