python313Packages.awsiotsdk: patch in correct version string (#394143)

This commit is contained in:
dotlambda
2025-03-30 20:16:08 -07:00
committed by GitHub
@@ -23,6 +23,11 @@ buildPythonPackage rec {
hash = "sha256-vqx/OgQ/hgH6ULBI1I9+fD4CswQZDzfdNlhImbnQiKg=";
};
postPatch = ''
substituteInPlace awsiot/__init__.py \
--replace-fail "__version__ = '1.0.0-dev'" "__version__ = '${version}'"
'';
pythonRelaxDeps = [ "awscrt" ];
build-system = [ setuptools ];