| 
									
										
										
										
											2018-03-17 16:57:00 +01:00
										 |  |  | { stdenv, fetchPypi, buildPythonPackage, isPy3k, defusedxml }: | 
					
						
							| 
									
										
										
										
											2017-11-03 20:32:36 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "PyAMF"; | 
					
						
							|  |  |  |   version = "0.8.0"; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-17 16:57:00 +01:00
										 |  |  |   # according to setup.py | 
					
						
							|  |  |  |   disabled = isPy3k; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-03 20:32:36 +02:00
										 |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							|  |  |  |     sha256 = "1r3lp9gkph48g9lijby5rs5daa3lhxs204r14zw4kvp3hf4xcm84"; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   propagatedBuildInputs = [ defusedxml ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   meta = with stdenv.lib; { | 
					
						
							|  |  |  |     description = "AMF (Action Message Format) support for Python"; | 
					
						
							|  |  |  |     homepage = https://pypi.python.org/pypi/PyAMF; | 
					
						
							|  |  |  |     license = licenses.mit; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |