nixpkgs-suyu/pkgs/applications/video/plex-mpv-shim/default.nix

22 lines
608 B
Nix
Raw Normal View History

2020-02-27 01:36:48 +01:00
{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
buildPythonApplication rec {
pname = "plex-mpv-shim";
2020-05-25 03:38:43 +02:00
version = "1.8.0";
2020-02-27 01:36:48 +01:00
src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
2020-05-25 03:38:43 +02:00
sha256 = "0fi0glnl7nr6754r9jk7d7dsnjbdm7civvhcj2l009yxiv2rxzj3";
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;
};
}