mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
22 lines
329 B
Nix
22 lines
329 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
{
|
||
|
name = "tika-server";
|
||
|
|
||
|
nodes = {
|
||
|
machine = { pkgs, ... }: {
|
||
|
services.tika = {
|
||
|
enable = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
machine.start()
|
||
|
machine.wait_for_unit("tika.service")
|
||
|
machine.wait_for_open_port(9998)
|
||
|
'';
|
||
|
|
||
|
meta.maintainers = [ lib.maintainers.drupol ];
|
||
|
}
|