depot/third_party/nixpkgs/pkgs/applications/video/plex-mpv-shim/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

21 lines
608 B
Nix

{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
buildPythonApplication rec {
pname = "plex-mpv-shim";
version = "1.8.0";
src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
sha256 = "0fi0glnl7nr6754r9jk7d7dsnjbdm7civvhcj2l009yxiv2rxzj3";
};
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;
};
}