depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-access-context-manager/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

40 lines
952 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, pythonOlder
, protobuf
}:
buildPythonPackage rec {
pname = "google-cloud-access-context-manager";
version = "0.1.16";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+L5Rre6LHpSlc+yzdQpMLSvURLHd412apDes5zwzdgc=";
};
propagatedBuildInputs = [
google-api-core
protobuf
] ++ google-api-core.optional-dependencies.grpc;
# 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";
changelog = "https://github.com/googleapis/python-access-context-manager/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler ];
};
}