2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "plex-mpv-shim";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "1.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iwalton3";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "06i6pp4jg0f9h6ash60fj1l5mbsdw3zyx7c6anbsrn86802i7paa";
|
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";
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Allows casting of videos to MPV via the Plex mobile and web app";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|