mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
24 lines
419 B
Nix
24 lines
419 B
Nix
|
import ./make-test-python.nix (
|
||
|
{ pkgs, ... }:
|
||
|
{
|
||
|
name = "pykms-test";
|
||
|
meta.maintainers = with pkgs.lib.maintainers; [ zopieux ];
|
||
|
|
||
|
nodes.machine =
|
||
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
services.pykms.enable = true;
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
machine.wait_for_unit("pykms.service")
|
||
|
machine.succeed("${pkgs.pykms}/bin/client")
|
||
|
'';
|
||
|
}
|
||
|
)
|