python3Packages.google-cloud-access-context-manager: remove stale substituteInPlace
This commit is contained in:
parent
0585bd31a1
commit
12584440b0
1 changed files with 12 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue