python311Packages.aws-lambda-builders: ensure that the version is set
This commit is contained in:
parent
1249d49eb3
commit
549cdad389
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ buildPythonPackage rec {
|
|||
hash = "sha256-cHpeNY0WY4yai/yWw2Oy1QLLjlj8PFNdB3BMbkP31Ds=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "version=read_version()," 'version="${version}",'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue