diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2020-02-26 16:36:48 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-03-02 09:49:13 -0800 |
commit | bd250532981d7a1fa6fbab117b2424c170cd786f (patch) | |
tree | 03716c5440018c236ffe3e19c27ae0bac7a55797 /pkgs/applications/video/plex-mpv-shim | |
parent | 486b9fc16027b14142d1e762b3714de0a8966b9d (diff) |
plex-mpv-shim: init at 1.7.12
Diffstat (limited to 'pkgs/applications/video/plex-mpv-shim')
-rw-r--r-- | pkgs/applications/video/plex-mpv-shim/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/video/plex-mpv-shim/default.nix b/pkgs/applications/video/plex-mpv-shim/default.nix new file mode 100644 index 0000000000000..019d080f97397 --- /dev/null +++ b/pkgs/applications/video/plex-mpv-shim/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }: + +buildPythonApplication rec { + pname = "plex-mpv-shim"; + version = "1.7.12"; + + src = fetchFromGitHub { + owner = "iwalton3"; + repo = pname; + rev = "v${version}"; + sha256 = "0l13g4vkvcd1q4lkdkbgv4hgkx5pql6ym2fap35581z7rzy9jhkq"; + }; + + 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; + }; +} |