mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Each of these maintainers came up in maintainers/scripts/check-maintainer-usernames.
I have manually verified that each of their IDs and usernames 404 when using the API calls
https://api.github.com/user/$ID, https://api.github.com/users/$USERNAME,
and https://api.github.com/users/$USERNAME/starred.
(cherry picked from commit f8776aff47)
29 lines
687 B
Nix
29 lines
687 B
Nix
import ./make-test-python.nix (
|
|
{ pkgs, ... }:
|
|
{
|
|
|
|
name = "etesync-dav";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ ];
|
|
};
|
|
|
|
nodes.machine =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [
|
|
pkgs.curl
|
|
pkgs.etesync-dav
|
|
];
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("multi-user.target")
|
|
machine.succeed("etesync-dav --version")
|
|
machine.execute("etesync-dav >&2 &")
|
|
machine.wait_for_open_port(37358)
|
|
with subtest("Check that the web interface is accessible"):
|
|
assert "Add User" in machine.succeed("curl -s http://localhost:37358/.web/add/")
|
|
'';
|
|
}
|
|
)
|