mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
39 lines
856 B
Nix
39 lines
856 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, google-api-core
|
|
, libcst
|
|
, mock
|
|
, proto-plus
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-iam";
|
|
version = "2.8.2";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-QrMYsuj9BremQGxociZRGIm/4aQRDHC7dRz6uo1PzOI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|