mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
3da886bf41
These are all packages that I stopped using and hence just create noise in my inbox for each change affecting them and let's face it, while I still enjoy contributing to nixpkgs, it doesn't really make sense to be listed there if I can't do much anyways. Each of these packages can be taken over by someone or removed if people think that's reasonable. Of course, if other maintainers face issues, I can answer some questions if needed & possible.
34 lines
660 B
Nix
34 lines
660 B
Nix
import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
name = "yabar";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ ];
|
|
};
|
|
|
|
machine = {
|
|
imports = [ ./common/x11.nix ./common/user-account.nix ];
|
|
|
|
test-support.displayManager.auto.user = "bob";
|
|
|
|
programs.yabar.enable = true;
|
|
programs.yabar.bars = {
|
|
top.indicators.date.exec = "YABAR_DATE";
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.start()
|
|
machine.wait_for_x()
|
|
|
|
# confirm proper startup
|
|
machine.wait_for_unit("yabar.service", "bob")
|
|
machine.sleep(10)
|
|
machine.wait_for_unit("yabar.service", "bob")
|
|
|
|
machine.screenshot("top_bar")
|
|
'';
|
|
})
|