Merge pull request #85140 from minijackson/jellyfin-10.5.4

jellyfin: 10.5.3 -> 10.5.4, add link to nixos test
This commit is contained in:
worldofpeace 2020-04-14 09:56:38 -04:00 committed by GitHub
commit 06159c66da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, unzip, sqlite, makeWrapper, dotnetCorePackages, ffmpeg,
fontconfig, freetype }:
fontconfig, freetype, nixosTests }:
let
os = if stdenv.isDarwin then "osx" else "linux";
@ -18,12 +18,12 @@ let
in stdenv.mkDerivation rec {
pname = "jellyfin";
version = "10.5.3";
version = "10.5.4";
# 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 = "04fq3g6yddyqiixgk45x3c90zjdhkm7glahlb71fyx8ivf1qkcvs";
sha256 = "0jfqkbr5n5l7k3dpmjsy0bhvy4y1s6sccwcmcx239r6dhc7x0f9y";
};
buildInputs = [
@ -49,6 +49,10 @@ in stdenv.mkDerivation rec {
--add-flags "$out/opt/jellyfin/jellyfin.dll --ffmpeg ${ffmpeg}/bin/ffmpeg"
'';
passthru.tests = {
smoke-test = nixosTests.jellyfin;
};
meta = with stdenv.lib; {
description = "The Free Software Media System";
homepage = "https://jellyfin.github.io/";