forked from mirrors/nixpkgs
Merge pull request #73064 from minijackson/jellyfin-things
jellyfin: update to 10.4.1, port test to python
This commit is contained in:
commit
01e280aa44
|
@ -1,4 +1,4 @@
|
|||
import ./make-test.nix ({ lib, ...}:
|
||||
import ./make-test-python.nix ({ lib, ...}:
|
||||
|
||||
{
|
||||
name = "jellyfin";
|
||||
|
@ -9,8 +9,8 @@ import ./make-test.nix ({ lib, ...}:
|
|||
{ services.jellyfin.enable = true; };
|
||||
|
||||
testScript = ''
|
||||
$machine->waitForUnit('jellyfin.service');
|
||||
$machine->waitForOpenPort('8096');
|
||||
$machine->succeed("curl --fail http://localhost:8096/");
|
||||
machine.wait_for_unit("jellyfin.service")
|
||||
machine.wait_for_open_port(8096)
|
||||
machine.succeed("curl --fail http://localhost:8096/")
|
||||
'';
|
||||
})
|
||||
|
|
|
@ -18,12 +18,12 @@ let
|
|||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "jellyfin";
|
||||
version = "10.4.0";
|
||||
version = "10.4.1";
|
||||
|
||||
# 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 = "0a3n2g8xcxz9syj21v3f3jbzksw22bg0dksbakkvs1kphaygk5q2";
|
||||
sha256 = "0lv1xd3bfbf9khiqlahry2im1mvgl3cj5m3zfd7mf61il5rz70f9";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
Loading…
Reference in a new issue