2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "plex-mpv-shim";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.7.16";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iwalton3";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1pnbdxaqnliwqfvv08gi7gdcvflg5vcbgk4g0fw75prgw54vnd9a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ];
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|