{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }: buildPythonApplication rec { pname = "plex-mpv-shim"; version = "1.10.0"; src = fetchFromGitHub { owner = "iwalton3"; repo = pname; rev = "v${version}"; sha256 = "18bd2nvlwzkmadimlkh7rs8rnp0ppfx1dzkxb11dq84pdpbl25pc"; }; propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ]; # does not contain tests doCheck = false; meta = with lib; { homepage = "https://github.com/iwalton3/plex-mpv-shim"; description = "Allows casting of videos to MPV via the Plex mobile and web app"; license = licenses.mit; }; }