pythonPackages.google_cloud_language: init at 1.1.0
This commit is contained in:
		
							parent
							
								
									3a81c65c38
								
							
						
					
					
						commit
						d3609a0610
					
				@ -0,0 +1,31 @@
 | 
			
		||||
{ stdenv
 | 
			
		||||
, buildPythonPackage
 | 
			
		||||
, fetchPypi
 | 
			
		||||
, enum34
 | 
			
		||||
, google_api_core
 | 
			
		||||
, pytest
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
buildPythonPackage rec {
 | 
			
		||||
  pname = "google-cloud-language";
 | 
			
		||||
  version = "1.1.0";
 | 
			
		||||
 | 
			
		||||
  src = fetchPypi {
 | 
			
		||||
    inherit pname version;
 | 
			
		||||
    sha256 = "2450e3265df129241cb21badb9d4ce2089d2652581df38e03c14a7ec85679ecb";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  checkInputs = [ pytest ];
 | 
			
		||||
  propagatedBuildInputs = [ enum34 google_api_core ];
 | 
			
		||||
 | 
			
		||||
  checkPhase = ''
 | 
			
		||||
    pytest tests/unit
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  meta = with stdenv.lib; {
 | 
			
		||||
    description = "Google Cloud Natural Language API client library";
 | 
			
		||||
    homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
 | 
			
		||||
    license = licenses.asl20;
 | 
			
		||||
    maintainers = [ maintainers.costrouc ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -2472,6 +2472,8 @@ in {
 | 
			
		||||
 | 
			
		||||
  google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
 | 
			
		||||
 | 
			
		||||
  google_cloud_language = callPackage ../development/python-modules/google_cloud_language { };
 | 
			
		||||
 | 
			
		||||
  google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { };
 | 
			
		||||
 | 
			
		||||
  google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user