From 01d351651973d1ff51fca4d784db56cacdc1a28e Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 13 Apr 2020 12:47:26 +0200 Subject: [PATCH] jellyfin: add link to nixos test --- pkgs/servers/jellyfin/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/jellyfin/default.nix b/pkgs/servers/jellyfin/default.nix index 9adc513307cc..932081ad22fe 100644 --- a/pkgs/servers/jellyfin/default.nix +++ b/pkgs/servers/jellyfin/default.nix @@ -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/";