python3Packages.awsiotpythonsdk: fix version in AWSIoTPythonSDK/__init__.py

This commit is contained in:
Robert Schütz
2026-07-08 19:21:34 -07:00
parent 20382e39ad
commit 70feff9540
@@ -17,6 +17,11 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-Jwj07yAl9LrHRy1y3cjipObqEcwP+j+a5dcvXj02kgA=";
};
postPatch = ''
substituteInPlace AWSIoTPythonSDK/__init__.py \
--replace-fail '__version__ = "1.5.4"' '__version__ = "${finalAttrs.version}"'
'';
nativeBuildInputs = [ setuptools ];
# Module has no tests