Merge pull request #82201 from nyanloutre/jellyfin_10_5_0

jellyfin: 10.4.3 -> 10.5.0
This commit is contained in:
Mario Rodas 2020-03-10 07:16:58 -05:00 committed by GitHub
commit a8ca52f4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, unzip, sqlite, makeWrapper, dotnet-netcore, ffmpeg,
{ stdenv, lib, fetchurl, unzip, sqlite, makeWrapper, dotnetCorePackages, ffmpeg,
fontconfig, freetype }:
let
@ -18,12 +18,12 @@ let
in stdenv.mkDerivation rec {
pname = "jellyfin";
version = "10.4.3";
version = "10.5.0";
# Impossible to build anything offline with dotnet
src = fetchurl {
url = "https://github.com/jellyfin/jellyfin/releases/download/v${version}/jellyfin_${version}_portable.tar.gz";
sha256 = "11scxcwf02h6gvll0jwwac1wcpwz8d2y16yc3da0hrhy34yhysbl";
sha256 = "1r6ljl535f8jchm5zvrwfl4aqjk5bg7sqbwr03yyjxgriqgf36lp";
};
buildInputs = [
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
];
propagatedBuildInputs = [
dotnet-netcore
dotnetCorePackages.aspnetcore_3_1
sqlite
];
@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
install -dm 755 "$out/opt/jellyfin"
cp -r * "$out/opt/jellyfin"
makeWrapper "${dotnet-netcore}/bin/dotnet" $out/bin/jellyfin \
makeWrapper "${dotnetCorePackages.aspnetcore_3_1}/bin/dotnet" $out/bin/jellyfin \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [
sqlite fontconfig freetype stdenv.cc.cc.lib
]}:$out/opt/jellyfin/runtimes/${runtimeDir}/native/" \