1 import ./make-test-python.nix ({ pkgs, lib, ... }: {
3 meta.maintainers = with lib.maintainers; [ ehmry ];
6 environment.systemPackages = [ pkgs.eris-go pkgs.eriscmd ];
7 services.eris-server = {
10 listenHttp = "[::1]:80";
11 backends = [ "badger+file:///var/cache/eris.badger?get&put" ];
18 server.wait_for_unit("eris-server.service")
19 server.wait_for_open_port(5683)
20 server.wait_for_open_port(80)
21 server.succeed("eriscmd get http://[::1] $(echo 'Hail ERIS!' | eriscmd put coap+tcp://[::1]:5683)")