13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
37 lines
789 B
Nix
37 lines
789 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-access-context-manager";
|
|
version = "0.1.14";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GFS9VvdXHxP1KvJzQkgjmYXO3qpMXl8yICGZEr18O8M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-api-core
|
|
];
|
|
|
|
# No tests in repo
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"google.identity.accesscontextmanager"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Protobufs for Google Access Context Manager";
|
|
homepage = "https://github.com/googleapis/python-access-context-manager";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
|
|
};
|
|
}
|