···1{ lib
2, buildPythonApplication
03, fetchPypi
004, jellyfin-apiclient-python
5, jinja2
6, mpv
7, pillow
8, pydantic
09, pystray
10, python-mpv-jsonipc
11, pywebview
012, tkinter
013}:
1415buildPythonApplication rec {
16 pname = "jellyfin-mpv-shim";
17+ version = "2.0.0";
1819 src = fetchPypi {
20 inherit pname version;
21+ sha256 = "sha256-YAZnNSzgAGYSb45VINRCPeUUbbtuOp/bLbIqz/90W6g=";
22 };
2324 propagatedBuildInputs = [
···35 # display_mirror dependencies
36 jinja2
37 pywebview
000000000000000000000038 ];
3940 # override $HOME directory:
···54 --replace "notify_updates: bool = True" "notify_updates: bool = False"
55 '';
56000000000057 # no tests
58 doCheck = false;
59 pythonImportsCheck = [ "jellyfin_mpv_shim" ];
6061 meta = with lib; {
62+ homepage = "https://github.com/jellyfin/jellyfin-mpv-shim";
63 description = "Allows casting of videos to MPV via the jellyfin mobile and web app";
64+ longDescription = ''
65+ Jellyfin MPV Shim is a client for the Jellyfin media server which plays media in the
66+ MPV media player. The application runs in the background and opens MPV only
67+ when media is cast to the player. The player supports most file formats, allowing you
68+ to prevent needless transcoding of your media files on the server. The player also has
69+ advanced features, such as bulk subtitle updates and launching commands on events.
70+ '';
71+ license = with licenses; [
72+ # jellyfin-mpv-shim
73+ gpl3Only
74+ mit
75+76+ # shader-pack licenses (github:iwalton3/default-shader-pack)
77+ # KrigBilateral, SSimDownscaler, NNEDI3
78+ gpl3Plus
79+ # Anime4K, FSRCNNX
80+ mit
81+ # Static Grain
82+ unlicense
83+ ];
84 maintainers = with maintainers; [ jojosch ];
85 };
86}