1 { stdenv, fetchFromGitHub, lib, rustPlatform, pkg-config, dbus }:
3 rustPlatform.buildRustPackage rec {
5 version = "unstable-2021-03-28";
7 src = fetchFromGitHub {
10 rev = "a090889077557fe92610ca503979b5cfc0724d61";
11 sha256 = "0vfl4y61cdrah98x6xcnb3cyi8rwhlws8ps6vfdlmr3dv30mbnbb";
14 cargoSha256 = "0aqd9ixszwq6qmj751gxx453gwbhwqi16m72bkbkj9s6nfyqihql";
16 nativeBuildInputs = [ pkg-config ];
18 buildInputs = [ dbus ];
21 broken = stdenv.isDarwin;
22 description = "VR Lighthouse power state management";
23 homepage = "https://github.com/ShayBox/Lighthouse";
24 license = licenses.mit;
25 maintainers = with maintainers; [ expipiplus1 ];