forked from mirrors/nixpkgs
jellyfin: 10.4.3 -> 10.5.0
This commit is contained in:
parent
82b54d4906
commit
6b943186d3
|
@ -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/" \
|
||||
|
|
Loading…
Reference in a new issue