| 
									
										
										
										
											2017-09-05 11:16:41 +02:00
										 |  |  | { lib | 
					
						
							|  |  |  | , buildPythonPackage | 
					
						
							|  |  |  | , fetchPypi | 
					
						
							|  |  |  | , mock | 
					
						
							|  |  |  | , sphinx | 
					
						
							|  |  |  | , six | 
					
						
							|  |  |  | , python | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | buildPythonPackage rec { | 
					
						
							|  |  |  |   pname = "sphinx-testing"; | 
					
						
							| 
									
										
										
										
											2019-04-16 19:15:40 +02:00
										 |  |  |   version = "1.0.1"; | 
					
						
							| 
									
										
										
										
											2017-09-05 11:16:41 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   src = fetchPypi { | 
					
						
							|  |  |  |     inherit pname version; | 
					
						
							| 
									
										
										
										
											2019-04-16 19:15:40 +02:00
										 |  |  |     sha256 = "ef661775b5722d7b00f67fc229104317d35637a4fb4434bf2c005afdf1da4d09"; | 
					
						
							| 
									
										
										
										
											2017-09-05 11:16:41 +02:00
										 |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   checkInputs = [ mock ]; | 
					
						
							|  |  |  |   propagatedBuildInputs = [ sphinx six ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   checkPhase = ''
 | 
					
						
							|  |  |  |     ${python.interpreter} -m unittest discover -s tests | 
					
						
							|  |  |  |   '';
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   # Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5 | 
					
						
							|  |  |  |   doCheck = false; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   meta = { | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |     homepage = "https://github.com/sphinx-doc/sphinx-testing"; | 
					
						
							| 
									
										
										
										
											2017-09-05 11:16:41 +02:00
										 |  |  |     license = lib.licenses.bsd2; | 
					
						
							|  |  |  |     description = "Testing utility classes and functions for Sphinx extensions"; | 
					
						
							|  |  |  |   }; | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  | } |