1 import ./make-test-python.nix ({ lib, ... }:
8 meta.maintainers = with lib.maintainers; [ zopieux ];
13 environment.systemPackages = [
15 (pkgs.wrapMpv pkgs.mpv-unwrapped {
16 scripts = [ pkgs.mpvScripts.simple-mpv-webui ];
22 machine.execute("set -m; mpv --script-opts=webui-port=${port} --idle=yes >&2 &")
23 machine.wait_for_open_port(${port})
24 assert "<title>simple-mpv-webui" in machine.succeed("curl -s localhost:${port}")