jellyfin: add link to nixos test

This commit is contained in:
Minijackson 2020-04-13 12:47:26 +02:00
parent dff99df6ea
commit 01d3516519
No known key found for this signature in database
GPG Key ID: FEA888C9F5D64F62

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";
@ -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/";