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

Merge pull request #179425 from McSinyx/phylactery

phylactery: init at 0.1.1
This commit is contained in:
ckie 2022-06-30 18:29:19 +03:00 committed by GitHub
commit a8c2879f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 102 additions and 0 deletions

View file

@ -426,6 +426,7 @@ in {
php = handleTest ./php {};
php80 = handleTest ./php { php = pkgs.php80; };
php81 = handleTest ./php { php = pkgs.php81; };
phylactery = handleTest ./web-apps/phylactery.nix {};
pict-rs = handleTest ./pict-rs.nix {};
pinnwand = handleTest ./pinnwand.nix {};
plasma5 = handleTest ./plasma5.nix {};

View file

@ -0,0 +1,20 @@
import ../make-test-python.nix ({ pkgs, lib, ... }: {
name = "phylactery";
nodes.machine = { ... }: {
services.phylactery = rec {
enable = true;
port = 8080;
library = "/tmp";
};
};
testScript = ''
start_all()
machine.wait_for_unit('phylactery')
machine.wait_for_open_port(8080)
machine.wait_until_succeeds('curl localhost:8080')
'';
meta.maintainers = with lib.maintainers; [ McSinyx ];
})