Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-dataproc / default.nix
blob6e22cb60c2672f653047dfbedbff604c86fd095b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , grpc-google-iam-v1
6 , mock
7 , libcst
8 , proto-plus
9 , protobuf
10 , pytestCheckHook
11 , pytest-asyncio
12 , pythonOlder
13 , setuptools
16 buildPythonPackage rec {
17   pname = "google-cloud-dataproc";
18   version = "5.9.3";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-l9ZHiR5/TNJfa4Oa5XzTVYCd8so5ZlPtJK9itO8C9BI=";
26   };
28   nativeBuildInputs = [
29     setuptools
30   ];
32   propagatedBuildInputs = [
33     google-api-core
34     grpc-google-iam-v1
35     libcst
36     proto-plus
37     protobuf
38   ] ++ google-api-core.optional-dependencies.grpc;
40   nativeCheckInputs = [
41     mock
42     pytestCheckHook
43     pytest-asyncio
44   ];
46   disabledTests = [
47     # Test requires credentials
48     "test_list_clusters"
49   ];
51   pythonImportsCheck = [
52     "google.cloud.dataproc"
53     "google.cloud.dataproc_v1"
54   ];
56   meta = with lib; {
57     description = "Google Cloud Dataproc API client library";
58     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataproc";
59     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-dataproc-v${version}/packages/google-cloud-dataproc/CHANGELOG.md";
60     license = licenses.asl20;
61     maintainers = with maintainers; [ ];
62   };