python39Packages.google-cloud-logging: fix build

This commit is contained in:
Sandro Jäckel 2021-11-02 00:00:54 +01:00
parent 5550ba6d67
commit 2947d1b208
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -24,6 +24,11 @@ buildPythonPackage rec {
sha256 = "sha256-SZ7tXxPKuAXIeAsNFKDZMan/HWXvzN2eaHctQOfa1MU=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "google-cloud-appengine-logging >= 0.1.0, < 1.0.0dev" "google-cloud-appengine-logging >= 0.1.0"
'';
propagatedBuildInputs = [
google-api-core
google-cloud-appengine-logging