| 
									
										
										
										
											2019-06-15 13:25:53 -07:00
										 |  |  | { buildPythonPackage | 
					
						
							|  |  |  | , lib | 
					
						
							|  |  |  | , fetchPypi | 
					
						
							|  |  |  | , six | 
					
						
							|  |  |  | , requests | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							| 
									
										
										
										
											2019-10-16 11:43:12 +02:00
										 |  |  |   version = "2.3.5"; | 
					
						
							| 
									
										
										
										
											2019-06-15 13:25:53 -07:00
										 |  |  |   pname = "pydocumentdb"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							| 
									
										
										
										
											2019-10-16 11:43:12 +02:00
										 |  |  |     sha256 = "1e6f072ae516fc061c9442f8ca470463b53dc626f0f6a86ff3a803293f4b50dd"; | 
					
						
							| 
									
										
										
										
											2019-06-15 13:25:53 -07:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-24 19:43:50 -07:00
										 |  |  |   # https://github.com/Azure/azure-cosmos-python/issues/183 | 
					
						
							|  |  |  |   preBuild = ''
 | 
					
						
							|  |  |  |     touch changelog.md | 
					
						
							|  |  |  |   '';
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-15 13:25:53 -07:00
										 |  |  |   propagatedBuildInputs = [ six requests ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   # requires an active Azure Cosmos service | 
					
						
							|  |  |  |   doCheck = false; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   meta = with lib; { | 
					
						
							|  |  |  |     description = "Azure Cosmos DB API"; | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |     homepage = "https://github.com/Azure/azure-cosmos-python"; | 
					
						
							| 
									
										
										
										
											2019-06-15 13:25:53 -07:00
										 |  |  |     license = licenses.mit; | 
					
						
							|  |  |  |     maintainers = with maintainers; [ jonringer ]; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |