python3Packages.google-cloud-access-context-manager: remove stale substituteInPlace

This commit is contained in:
Fabian Affolter 2021-11-30 15:06:36 +01:00 committed by Jonathan Ringer
parent 0585bd31a1
commit 12584440b0
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,20 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, google-api-core }:
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-access-context-manager";
version = "0.1.9";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "249a1c1a858bb182b73749784457baacfcab8e7c13da5f3421109d5b8dace5b8";
};
postPatch = ''
substituteInPlace setup.py \
--replace "google-api-core[grpc] >= 1.26.0, < 2.0.0dev" "google-api-core[grpc] >= 1.26.0, < 2.0.1"
'';
propagatedBuildInputs = [ google-api-core ];
propagatedBuildInputs = [
google-api-core
];
# No tests in repo
doCheck = false;