| 
									
										
										
										
											2019-11-08 18:03:40 +01:00
										 |  |  | import ./make-test-python.nix ({ lib, ...}: | 
					
						
							| 
									
										
										
										
											2019-04-28 11:02:32 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   name = "jellyfin"; | 
					
						
							|  |  |  |   meta.maintainers = with lib.maintainers; [ minijackson ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   machine = | 
					
						
							|  |  |  |     { ... }: | 
					
						
							|  |  |  |     { services.jellyfin.enable = true; }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   testScript = ''
 | 
					
						
							| 
									
										
										
										
											2019-11-08 18:03:40 +01:00
										 |  |  |     machine.wait_for_unit("jellyfin.service") | 
					
						
							|  |  |  |     machine.wait_for_open_port(8096) | 
					
						
							|  |  |  |     machine.succeed("curl --fail http://localhost:8096/") | 
					
						
							| 
									
										
										
										
											2019-04-28 11:02:32 +02:00
										 |  |  |   '';
 | 
					
						
							|  |  |  | }) |