jellyfin: 10.6.4 -> 10.7.0
https://github.com/jellyfin/jellyfin/releases/tag/v10.7.0
This commit is contained in:
parent
40ef3055b0
commit
da94be3001
@ -18,34 +18,36 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "jellyfin";
|
pname = "jellyfin";
|
||||||
version = "10.6.4";
|
version = "10.7.0";
|
||||||
|
|
||||||
# Impossible to build anything offline with dotnet
|
# Impossible to build anything offline with dotnet
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://repo.jellyfin.org/releases/server/portable/versions/stable/combined/${version}/jellyfin_${version}.tar.gz";
|
url = "https://repo.jellyfin.org/releases/server/portable/versions/stable/combined/${version}/jellyfin_${version}.tar.gz";
|
||||||
sha256 = "OqN070aUKPk0dXAy8R/lKUnSWen+si/AJ6tkYh5ibqo=";
|
sha256 = "sha256-63T1EBjtTWxg41W5gBDYCthgnokZ/e/B1s6BmymO32w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [
|
||||||
unzip
|
unzip
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
dotnetCorePackages.aspnetcore_3_1
|
dotnetCorePackages.aspnetcore_5_0
|
||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
install -dm 755 "$out/opt/jellyfin"
|
install -dm 755 "$out/opt/jellyfin"
|
||||||
cp -r * "$out/opt/jellyfin"
|
cp -r * "$out/opt/jellyfin"
|
||||||
makeWrapper "${dotnetCorePackages.aspnetcore_3_1}/bin/dotnet" $out/bin/jellyfin \
|
makeWrapper "${dotnetCorePackages.aspnetcore_5_0}/bin/dotnet" $out/bin/jellyfin \
|
||||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
|
||||||
sqlite fontconfig freetype stdenv.cc.cc.lib
|
sqlite fontconfig freetype stdenv.cc.cc.lib
|
||||||
]}:$out/opt/jellyfin/runtimes/${runtimeDir}/native/" \
|
]}:$out/opt/jellyfin/runtimes/${runtimeDir}/native/" \
|
||||||
--add-flags "$out/opt/jellyfin/jellyfin.dll --ffmpeg ${ffmpeg}/bin/ffmpeg"
|
--add-flags "$out/opt/jellyfin/jellyfin.dll --ffmpeg ${ffmpeg}/bin/ffmpeg"
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
@ -55,7 +57,8 @@ in stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Free Software Media System";
|
description = "The Free Software Media System";
|
||||||
homepage = "https://jellyfin.org/";
|
homepage = "https://jellyfin.org/";
|
||||||
license = licenses.gpl2;
|
# https://github.com/jellyfin/jellyfin/issues/610#issuecomment-537625510
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ nyanloutre minijackson purcell ];
|
maintainers = with maintainers; [ nyanloutre minijackson purcell ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user