depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-access-context-manager/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

40 lines
968 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 SuperSandro2000 ];
};
}