1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/applications/video/plex-mpv-shim/default.nix
2020-03-02 09:49:13 -08:00

22 lines
609 B
Nix

{ 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;
};
}