1 { buildGoModule, fetchFromGitHub, lib, libGL, nssmdns, pkg-config, xorg }:
4 pname = "keylight-controller-mschneider82";
7 src = fetchFromGitHub {
8 owner = "mschneider82";
9 repo = "keylight-control";
11 hash = "sha256-xC/JRM8vyqAsxPpf37P3pZv6i73s+CLQt6Sh4nMxwzM=";
14 vendorHash = "sha256-nFttVJbEAAGsrAglMphuw0wJ2Kf8sWB4HrpVqfHO76o=";
36 description = "Desktop application to control Elgato Keylights";
39 * Elgato's Keylight paired to local wifi network.
40 * Service avahi with nssmdns4 enabled.
42 license = licenses.mit;
43 homepage = "https://github.com/mschneider82/keylight-control";
45 mainProgram = "keylight-control";
49 # Note: Application errors on first executions but works on re-runs.
52 # 1. Keylight lists at: `avahi-browse --all --resolve --ignore-local`
53 # 2. Ping Keylight's IP
54 # 3. Resolve Keylight's hostname: `getent hosts elgato-key-light-XXXX.local`