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

25 lines
645 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc }:
2020-02-27 00:36:48 +00:00
buildPythonApplication rec {
pname = "plex-mpv-shim";
2021-03-26 21:57:01 +00:00
version = "1.10.0";
2020-02-27 00:36:48 +00:00
src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
2021-03-26 21:57:01 +00:00
sha256 = "18bd2nvlwzkmadimlkh7rs8rnp0ppfx1dzkxb11dq84pdpbl25pc";
2020-02-27 00:36:48 +00:00
};
propagatedBuildInputs = [ mpv requests python-mpv-jsonipc ];
2021-01-03 23:07:09 +00:00
# does not contain tests
doCheck = false;
meta = with lib; {
2020-02-27 00:36:48 +00:00
homepage = "https://github.com/iwalton3/plex-mpv-shim";
description = "Allows casting of videos to MPV via the Plex mobile and web app";
2020-02-27 00:36:48 +00:00
license = licenses.mit;
};
}