2020-02-27 01:36:48 +01:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "plex-mpv-shim";
|
2020-03-28 02:49:20 +01:00
|
|
|
version = "1.7.14";
|
2020-02-27 01:36:48 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iwalton3";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-03-28 02:49:20 +01:00
|
|
|
sha256 = "1rjifqvs59w2aacfird02myqfd34qadhacj9zpy5xjz25x410zza";
|
2020-02-27 01:36:48 +01: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;
|
|
|
|
};
|
|
|
|
}
|