python311Packages.aws-lambda-builders: ensure that the version is set

This commit is contained in:
Fabian Affolter 2023-08-26 16:04:35 +02:00
parent 1249d49eb3
commit 549cdad389

View file

@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-cHpeNY0WY4yai/yWw2Oy1QLLjlj8PFNdB3BMbkP31Ds=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "version=read_version()," 'version="${version}",'
'';
propagatedBuildInputs = [
six
];