linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-dataproc / default.nix
blob0115524d5467a1247b811593076588ecef6c1868
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , mock
6 , libcst
7 , proto-plus
8 , pytestCheckHook
9 , pytest-asyncio
12 buildPythonPackage rec {
13   pname = "google-cloud-dataproc";
14   version = "2.3.1";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "sha256-TADApBkE4DvEFkVFy56Flh2s6XR9uGxzGTf5aspohsA=";
19   };
21   propagatedBuildInputs = [ google-api-core libcst proto-plus ];
23   checkInputs = [ mock pytestCheckHook pytest-asyncio ];
25   disabledTests = [
26     # requires credentials
27     "test_list_clusters"
28   ];
30   pythonImportsCheck = [
31     "google.cloud.dataproc"
32     "google.cloud.dataproc_v1"
33     "google.cloud.dataproc_v1beta2"
34   ];
36   meta = with lib; {
37     description = "Google Cloud Dataproc API client library";
38     homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ SuperSandro2000 ];
41   };