| 
									
										
										
										
											2021-01-25 09:26:54 +01:00
										 |  |  | { buildPythonPackage, lib, fetchPypi | 
					
						
							| 
									
										
										
										
											2018-06-14 23:32:30 +02:00
										 |  |  | , requests | 
					
						
							|  |  |  | , nose | 
					
						
							|  |  |  | , responses | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "python-forecastio"; | 
					
						
							|  |  |  |   version = "1.4.0"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							|  |  |  |     sha256 = "0m6lf4a46pnwm5xg9dnmwslwzrpnj6d9agw570grciivbvb1ji0l"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   checkInputs = [ nose ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   propagatedBuildInputs = [ requests responses ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   checkPhase = ''
 | 
					
						
							|  |  |  |     nosetests | 
					
						
							|  |  |  |   '';
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  |   meta = with lib; { | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |     homepage = "https://zeevgilovitz.com/python-forecast.io/"; | 
					
						
							| 
									
										
										
										
											2018-06-14 23:32:30 +02:00
										 |  |  |     description = "A thin Python Wrapper for the Dark Sky (formerly forecast.io) weather API"; | 
					
						
							|  |  |  |     license = licenses.bsd2; | 
					
						
							|  |  |  |     maintainers = with maintainers; [ makefu ]; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |