mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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:
commit
06159c66da
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user