summary refs log blame commit diff
path: root/pkgs/development/python-modules/google-cloud-dataproc/default.nix
blob: e98c8be0b4f901432f29b896774197b7d3db4b8a (plain) (tree)
1
2
3
4
5
6
7
8
9
     

                    
                 
      

            

                 



                                  
                    


                          
                                                                                

    
                                                                
 











                                                        
 
                    
                                                             
                                                                            
                             
                                                        

    
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, mock
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
}:

buildPythonPackage rec {
  pname = "google-cloud-dataproc";
  version = "2.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6e5373febe420e2b2375d2252b272129f11a37ff1b88a7587322931063be8d38";
  };

  propagatedBuildInputs = [ google-api-core libcst proto-plus ];

  checkInputs = [ mock pytestCheckHook pytest-asyncio ];

  disabledTests = [
    # requires credentials
    "test_list_clusters"
  ];

  pythonImportsCheck = [
    "google.cloud.dataproc"
    "google.cloud.dataproc_v1"
    "google.cloud.dataproc_v1beta2"
  ];

  meta = with lib; {
    description = "Google Cloud Dataproc API client library";
    homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
    license = licenses.asl20;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}