···28282929mkDerivation rec {
3030 pname = "jellyfin-media-player";
3131- version = "1.8.1";
3131+ version = "1.9.0";
32323333 src = fetchFromGitHub {
3434 owner = "jellyfin";
3535 repo = "jellyfin-media-player";
3636 rev = "v${version}";
3737- sha256 = "sha256-/FqxZd0cFSfkeBQmZ2gU+5FUZZ+WbQ8c2IjaZ4/uGt8=";
3737+ sha256 = "sha256-PfzBxvGroHgjEz4OchnECSfcb1Ds8xbE28yxneaiPuo=";
3838 };
39394040 patches = [
4141- # the webclient-files are not copied in the regular build script. Copy them just like the linux build
4242- ./fix-osx-resources.patch
4141+ # fix the location of the jellyfin-web path
4242+ ./fix-web-path.patch
4343 # disable update notifications since the end user can't simply download the release artifacts to update
4444 ./disable-update-notifications.patch
4545 ];
···7979 "-DLINUX_X11POWER=ON"
8080 ];
81818282- preBuild = ''
8383- # link the jellyfin-web files to the expected "dist" directory
8484- ln -s ${jellyfin-web}/share/jellyfin-web dist
8282+ preConfigure = ''
8383+ # link the jellyfin-web files to be copied by cmake (see fix-web-path.patch)
8484+ ln -s ${jellyfin-web}/share/jellyfin-web .
8585 '';
86868787 postInstall = lib.optionalString stdenv.isDarwin ''