0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-09-30 00:01:53 +00:00 committed by GitHub
commit 6b41a98c6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 412 additions and 142 deletions

View file

@ -119,6 +119,7 @@ in {
atd = handleTest ./atd.nix {};
atop = handleTest ./atop.nix {};
atuin = handleTest ./atuin.nix {};
audiobookshelf = handleTest ./audiobookshelf.nix {};
auth-mysql = handleTest ./auth-mysql.nix {};
authelia = handleTest ./authelia.nix {};
avahi = handleTest ./avahi.nix {};

View file

@ -0,0 +1,23 @@
import ./make-test-python.nix ({ lib, ... }:
with lib;
{
name = "audiobookshelf";
meta.maintainers = with maintainers; [ wietsedv ];
nodes.machine =
{ pkgs, ... }:
{
services.audiobookshelf = {
enable = true;
port = 1234;
};
};
testScript = ''
machine.wait_for_unit("audiobookshelf.service")
machine.wait_for_open_port(1234)
machine.succeed("curl --fail http://localhost:1234/")
'';
})