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

25 lines
654 B
Nix
Raw Normal View History

2020-02-26 16:36:48 -08:00
{ stdenv, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
buildPythonApplication rec {
pname = "plex-mpv-shim";
2020-10-24 18:15:05 -07:00
version = "1.9.0";
2020-02-26 16:36:48 -08:00
src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
2020-10-24 18:15:05 -07:00
sha256 = "06i6pp4jg0f9h6ash60fj1l5mbsdw3zyx7c6anbsrn86802i7paa";
2020-02-26 16:36:48 -08:00
};
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ];
2021-01-03 15:07:09 -08:00
# does not contain tests
doCheck = false;
2020-02-26 16:36:48 -08:00
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";
2020-02-26 16:36:48 -08:00
license = licenses.mit;
};
}