From 8065f9ec38a47b9f8f77901272159f47a3ed1237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 2 Dec 2025 09:56:10 -0800 Subject: [PATCH] python3Packages.pymitsubishi: make sure pyproject.toml specifies the correct version --- pkgs/development/python-modules/pymitsubishi/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pymitsubishi/default.nix b/pkgs/development/python-modules/pymitsubishi/default.nix index 4e42f014492b..181e2a716eeb 100644 --- a/pkgs/development/python-modules/pymitsubishi/default.nix +++ b/pkgs/development/python-modules/pymitsubishi/default.nix @@ -21,6 +21,11 @@ buildPythonPackage rec { hash = "sha256-frqyAXAP2O8TZzXx5ephcLSLJA9p0P74KJrPoSKPYYo="; }; + postPatch = '' + # make sure pyproject.toml specifies the correct version + grep -qF 'version = "${version}"' pyproject.toml + ''; + build-system = [ setuptools ]; dependencies = [