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

38 lines
869 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, google-api-core
, libcst
, mock
, proto-plus
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-iam";
version = "2.5.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "e8c39d137d9ec0fe780f72b24999b8b47b1f948e38f242b51d609a0fd241b5bf";
};
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 ];
};
}