Merge pull request #151215 from jojosch/jellyfin-media-player-1.7.0
jellyfin-media-player: 1.6.1 -> 1.7.0
This commit is contained in:
commit
2dfc6081a8
1 changed files with 5 additions and 10 deletions
|
@ -22,22 +22,18 @@
|
||||||
, qtwebchannel
|
, qtwebchannel
|
||||||
, qtwebengine
|
, qtwebengine
|
||||||
, qtx11extras
|
, qtx11extras
|
||||||
|
, jellyfin-web
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "jellyfin-media-player";
|
pname = "jellyfin-media-player";
|
||||||
version = "1.6.1";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jellyfin";
|
owner = "jellyfin";
|
||||||
repo = "jellyfin-media-player";
|
repo = "jellyfin-media-player";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-iqwOv95JFxQ1j/9B+oBFAp7mD1/1g2EJYvvUKbrDQes=";
|
sha256 = "sha256-eDCfqSNkKVm8MC4XA1NhQSByy9zhfyQRPM8OlSKcIvc=";
|
||||||
};
|
|
||||||
|
|
||||||
jmpDist = fetchzip {
|
|
||||||
url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.3/dist.zip";
|
|
||||||
sha256 = "sha256-P7WEYbVvpaVLwMgqC2e8QtMOaJclg0bX78J1fdGzcCU=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -81,9 +77,8 @@ mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
# copy the webclient-files to the expected "dist" directory
|
# link the jellyfin-web files to the expected "dist" directory
|
||||||
mkdir -p dist
|
ln -s ${jellyfin-web}/share/jellyfin-web dist
|
||||||
cp -a ${jmpDist}/* dist
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
|
Loading…
Reference in a new issue