mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
38 lines
837 B
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 ];
|
|
};
|
|
}
|