| 
									
										
										
										
											2021-01-25 09:26:54 +01:00
										 |  |  | { lib, buildPythonPackage, fetchPypi | 
					
						
							| 
									
										
										
										
											2018-10-25 16:15:58 -04:00
										 |  |  | , nose, pyparsing, decorator, six, future }: | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "PyContracts"; | 
					
						
							| 
									
										
										
										
											2020-05-09 08:37:20 +00:00
										 |  |  |   version = "1.8.14"; | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							| 
									
										
										
										
											2020-05-09 08:37:20 +00:00
										 |  |  |     sha256 = "03q5m595ysjrc9h57m7prrca6b9l4yrzvdijnzxnhd61p7jzbh49"; | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   buildInputs = [ nose ]; | 
					
						
							| 
									
										
										
										
											2018-10-25 16:15:58 -04:00
										 |  |  |   propagatedBuildInputs = [ pyparsing decorator six future ]; | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  |   meta = with lib; { | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  |     description = "Allows to declare constraints on function parameters and return values"; | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |     homepage = "https://pypi.python.org/pypi/PyContracts"; | 
					
						
							| 
									
										
										
										
											2018-03-31 21:11:37 +02:00
										 |  |  |     license = licenses.lgpl2; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |