Merge pull request #91935 from jojosch/jellyfin-mpv-shim_1.5.10

This commit is contained in:
Vladyslav M 2020-07-22 22:35:23 +03:00 committed by GitHub
commit cf46edfc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 7 deletions

View File

@ -4,13 +4,13 @@
buildPythonApplication rec {
pname = "jellyfin-mpv-shim";
version = "1.4.2";
version = "1.5.11";
src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
sha256 = "1cnii5wj0pgqg3dqk5cm6slpbs3730x8ippps4cjbsxcsrmqjpx6";
sha256 = "14hm8yccdp7w1vdnvdzafk1byhaq1qsr33i4962s1nvm9lafxkr7";
fetchSubmodules = true; # needed for display_mirror css file
};
@ -25,6 +25,12 @@ buildPythonApplication rec {
rm jellyfin_mpv_shim/win_utils.py
'';
# disable the desktop client for now
postPatch = ''
substituteInPlace setup.py \
--replace "'jellyfin-mpv-desktop=jellyfin_mpv_shim.mpv_shim:main_desktop'," ""
'';
propagatedBuildInputs = [
jellyfin-apiclient-python
mpv
@ -42,7 +48,7 @@ buildPythonApplication rec {
meta = with stdenv.lib; {
homepage = "https://github.com/iwalton3/jellyfin-mpv-shim";
description = "Allows casting of videos to MPV via the jellyfin mobile and web app.";
description = "Allows casting of videos to MPV via the jellyfin mobile and web app";
license = licenses.gpl3;
maintainers = with maintainers; [ jojosch ];
};

View File

@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "jellyfin-apiclient-python";
version = "1.4.0";
version = "1.5.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "iwalton3";
repo = "jellyfin-apiclient-python";
rev = "v${version}";
sha256 = "0b4ij19xjwn0wm5076fx8n4phjbsfx84x9qdrwm8c2r3ld8w7hk4";
sha256 = "1mzs4i9c4cf7pmymsyzs8x17hvjs8g9wr046l4f85rkzmz23v1rp";
};
propagatedBuildInputs = [ requests websocket_client ];

View File

@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "python-mpv-jsonipc";
version = "1.1.8";
version = "1.1.11";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "iwalton3";
repo = "python-mpv-jsonipc";
rev = "v${version}";
sha256 = "0f4nfzfka5n76n6dxmgcz0rkaws7a3jrgyh00va6lnfi7h6dsmx4";
sha256 = "034vc2j54dciiq80k7jn6kx4g7i58sjk0ykma039k5rihj2rblpk";
};
# 'mpv-jsonipc' does not have any tests