diff options
author | Minijackson <minijackson@riseup.net> | 2021-04-24 14:01:47 +0200 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2021-04-26 14:11:29 +0200 |
commit | 2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b (patch) | |
tree | aad22dbb8c0393dea92fe475a86e3231fb69216e /pkgs/servers/jellyfin | |
parent | abd57b544e59b54a24f930899329508aa3ec3b17 (diff) | |
download | nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar.gz nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar.bz2 nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar.lz nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar.xz nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.tar.zst nixpkgs-2ad8aa72ae32d1890a94fbb3c26cc51b2661b88b.zip |
jellyfin_10_5: remove unmaintained version
This version contains a vulnerability[1], and isn't maintained. The original reason to have two jellyfin versions was to allow end-users to backup the database before the layout was upgraded, but these backups should be done periodically. [1]: <https://nvd.nist.gov/vuln/detail/CVE-2021-21402>
Diffstat (limited to 'pkgs/servers/jellyfin')
-rw-r--r-- | pkgs/servers/jellyfin/10.5.x.nix | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/pkgs/servers/jellyfin/10.5.x.nix b/pkgs/servers/jellyfin/10.5.x.nix deleted file mode 100644 index 9bece72566f..00000000000 --- a/pkgs/servers/jellyfin/10.5.x.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ stdenv, lib, fetchurl, unzip, sqlite, makeWrapper, dotnetCorePackages, ffmpeg, - fontconfig, freetype, nixosTests }: - -let - os = if stdenv.isDarwin then "osx" else "linux"; - arch = - with stdenv.hostPlatform; - if isx86_32 then "x86" - else if isx86_64 then "x64" - else if isAarch32 then "arm" - else if isAarch64 then "arm64" - else lib.warn "Unsupported architecture, some image processing features might be unavailable" "unknown"; - musl = lib.optionalString stdenv.hostPlatform.isMusl - (if (arch != "x64") - then lib.warn "Some image processing features might be unavailable for non x86-64 with Musl" "musl-" - else "musl-"); - runtimeDir = "${os}-${musl}${arch}"; - -in stdenv.mkDerivation rec { - pname = "jellyfin"; - version = "10.5.5"; - - # 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"; - }; - - nativeBuildInputs = [ unzip ]; - buildInputs = [ - makeWrapper - ]; - - propagatedBuildInputs = [ - dotnetCorePackages.aspnetcore_3_1 - sqlite - ]; - - preferLocalBuild = true; - - 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 : "${lib.makeLibraryPath [ - sqlite fontconfig freetype stdenv.cc.cc.lib - ]}:$out/opt/jellyfin/runtimes/${runtimeDir}/native/" \ - --add-flags "$out/opt/jellyfin/jellyfin.dll --ffmpeg ${ffmpeg}/bin/ffmpeg" - ''; - - passthru.tests = { - smoke-test = nixosTests.jellyfin; - }; - - meta = with lib; { - description = "The Free Software Media System"; - homepage = "https://jellyfin.org/"; - license = licenses.gpl2; - maintainers = with maintainers; [ nyanloutre minijackson ]; - }; -} |