jellyfin: 10.5.5 -> 10.6.2

Added jellyfin_10_5 package as well to be used for the module in nixos versions < 20.09
This commit is contained in:
Noah Hendrickson
2020-08-16 11:41:35 -04:00
parent 714fac4cc9
commit 6a71fd341d
3 changed files with 67 additions and 5 deletions
+4 -5
View File
@@ -18,12 +18,12 @@ let
in stdenv.mkDerivation rec {
pname = "jellyfin";
version = "10.5.5";
version = "10.6.2";
# 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 = "1s3hva1j5w74qc9wyqnmr5clk4smzfi7wvx8qrzrwy81mx7r5w27";
url = "https://repo.jellyfin.org/releases/server/portable/stable/combined/jellyfin_${version}.tar.gz";
sha256 = "16yib2k9adch784p6p0whgfb6lrjzwiigg1n14cp88dx64hyhxhb";
};
buildInputs = [
@@ -41,7 +41,6 @@ in stdenv.mkDerivation rec {
installPhase = ''
install -dm 755 "$out/opt/jellyfin"
cp -r * "$out/opt/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
@@ -55,7 +54,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "The Free Software Media System";
homepage = "https://jellyfin.github.io/";
homepage = "https://jellyfin.org/";
license = licenses.gpl2;
maintainers = with maintainers; [ nyanloutre minijackson ];
};