nixpkgs/pkgs/development/python-modules/google-cloud-iam/default.nix

38 lines
837 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, google-api-core
, libcst
, mock
, proto-plus
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-iam";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "d34604508e3e87b9161ccd5ff29474867ac91ffb8d29e1a2fc9ff0e26d934b73";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [
"google.cloud.iam_credentials"
"google.cloud.iam_credentials_v1"
];
meta = with lib; {
description = "IAM Service Account Credentials API client library";
homepage = "https://github.com/googleapis/python-iam";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
};
}