python39Packages.grpc-google-iam-v1: deactivate tests, normalise name, adopt

This commit is contained in:
Sandro Jäckel 2021-08-16 12:54:23 +02:00
parent 9c35ef5a23
commit fb4e03fe68
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
16 changed files with 35 additions and 32 deletions

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, mock
, proto-plus
, pytest-asyncio
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
grpc_google_iam_v1
grpc-google-iam-v1
proto-plus
];

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, grpc-google-iam-v1
, google-api-core
, google-cloud-access-context-manager
, google-cloud-org-policy
@ -30,7 +30,7 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
grpc_google_iam_v1
grpc-google-iam-v1
google-api-core
google-cloud-access-context-manager
google-cloud-org-policy

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, mock
, proto-plus
, pytest-asyncio
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
grpc_google_iam_v1
grpc-google-iam-v1
proto-plus
];

View file

@ -3,7 +3,7 @@
, fetchPypi
, google-api-core
, google-cloud-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
google-cloud-core
grpc_google_iam_v1
grpc-google-iam-v1
libcst
proto-plus
];

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "sha256-nMUMGFU383TC7cXkj6EHaEe4HHS5NzcLBIxp1xgWUzg=";
};
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, mock
, proto-plus
, pytest-asyncio
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
grpc_google_iam_v1
grpc-google-iam-v1
proto-plus
];

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, grpc-google-iam-v1
, google-api-core
, libcst
, proto-plus
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "sha256-vMzq4ffA7877zRtdZ+VpFdEHU0BZhDdhgxuk5154hMU=";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, grpc_google_iam_v1
, grpc-google-iam-v1
, google-api-core
, libcst
, mock
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "sha256-OuvpnIJeG+O+2Teopq8FYJOHIyi1V3RdlmJEq/fFSxM=";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];

View file

@ -4,7 +4,7 @@
, pytestCheckHook
, google-api-core
, google-cloud-testutils
, grpc_google_iam_v1
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
@ -21,7 +21,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
grpc_google_iam_v1
grpc-google-iam-v1
google-api-core
libcst
proto-plus

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
grpc_google_iam_v1
grpc-google-iam-v1
libcst
proto-plus
];

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, grpc-google-iam-v1
, google-api-core
, libcst
, mock
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "sha256-DrdzC7Oe/8cq41OLcN51Qm208L0zPa9cxscHqmYji04=";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, grpc-google-iam-v1
, google-cloud-core
, google-cloud-testutils
, libcst
@ -23,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-cloud-core
grpc_google_iam_v1
grpc-google-iam-v1
libcst
proto-plus
sqlparse

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc_google_iam_v1
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
@ -19,7 +19,7 @@ buildPythonPackage rec {
sha256 = "sha256-4QOKG7Forf3x5l1XQbbX4A8upIxe+eCiwhPily26du4=";
};
propagatedBuildInputs = [ google-api-core grpc_google_iam_v1 libcst proto-plus ];
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];

View file

@ -3,7 +3,6 @@
, fetchPypi
, grpcio
, googleapis-common-protos
, pytest
}:
buildPythonPackage rec {
@ -17,15 +16,18 @@ buildPythonPackage rec {
propagatedBuildInputs = [ grpcio googleapis-common-protos ];
# non-standard test format, and python3 will load local google folder first
# but tests cannot be ran if google folder is removed or moved
# no tests run
doCheck = false;
checkInputs = [ pytest ];
pythonImportsCheck = [
"google.iam"
"google.iam.v1"
];
meta = with lib; {
description = "GRPC library for the google-iam-v1 service";
homepage = "https://github.com/googleapis/googleapis";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -49,6 +49,7 @@ mapAliases ({
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
google_api_python_client = google-api-python-client; # added 2021-03-19
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
HAP-python = hap-python; # added 2021-06-01
lammps-cython = throw "no longer builds and is unmaintained";
MechanicalSoup = mechanicalsoup; # added 2021-06-01

View file

@ -3164,7 +3164,7 @@ in {
grip = callPackage ../development/python-modules/grip { };
grpc_google_iam_v1 = callPackage ../development/python-modules/grpc_google_iam_v1 { };
grpc-google-iam-v1 = callPackage ../development/python-modules/grpc-google-iam-v1 { };
grpcio = callPackage ../development/python-modules/grpcio { };