python3Packages.pymitsubishi: make sure pyproject.toml specifies the correct version

This commit is contained in:
Robert Schütz
2025-12-02 13:21:16 -08:00
parent fa1b0614f4
commit 8065f9ec38
@@ -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 = [