2021-01-09 10:05:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, google-api-core }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-access-context-manager";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1qy7wv1xn7g3x5z0vvv0pwmxhin4hw2m9fs9iklnghy00vg37v0b";
|
|
|
|
};
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
# No tests in repo
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.identity.accesscontextmanager"
|
|
|
|
];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Protobufs for Google Access Context Manager.";
|
|
|
|
homepage = "https://github.com/googleapis/python-access-context-manager";
|
|
|
|
license = licenses.asl20;
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
}
|