python3Packages.google-resumable-media: fix google-crc32c bounds

This commit is contained in:
Jonathan Ringer 2021-09-14 11:04:45 -07:00
parent 91c89490cc
commit 6957f6cb1e
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -19,6 +19,11 @@ buildPythonPackage rec {
sha256 = "36d682161fdcbfa29681212c210fabecbf6849a505a0cbc54b7f70a10a5278a2";
};
postPatch = ''
substituteInPlace setup.py \
--replace "google-crc32c >= 1.0, <= 1.1.2" "google-crc32c~=1.0"
'';
propagatedBuildInputs = [ google-auth google-crc32c requests ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];