1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6, google-api-core 7, libcst 8, mock 9, proto-plus 10, pytest-asyncio 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-iam"; 15 version = "2.9.0"; 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "sha256-/FPuPDJC+AuRNCtKv7pFrpsOlopPFEV/KggDWulRU8A="; 21 }; 22 23 propagatedBuildInputs = [ google-api-core libcst proto-plus ]; 24 25 checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 26 27 pythonImportsCheck = [ 28 "google.cloud.iam_credentials" 29 "google.cloud.iam_credentials_v1" 30 ]; 31 32 meta = with lib; { 33 description = "IAM Service Account Credentials API client library"; 34 homepage = "https://github.com/googleapis/python-iam"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ austinbutler SuperSandro2000 ]; 37 }; 38}