2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, rustPlatform, pkg-config, dbus }:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "Lighthouse";
|
|
|
|
version = "unstable-2021-03-28";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ShayBox";
|
|
|
|
repo = "Lighthouse";
|
|
|
|
rev = "a090889077557fe92610ca503979b5cfc0724d61";
|
|
|
|
sha256 = "0vfl4y61cdrah98x6xcnb3cyi8rwhlws8ps6vfdlmr3dv30mbnbb";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "0aqd9ixszwq6qmj751gxx453gwbhwqi16m72bkbkj9s6nfyqihql";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ dbus ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2021-12-06 16:07:01 +00:00
|
|
|
description = "VR Lighthouse power state management";
|
|
|
|
homepage = "https://github.com/ShayBox/Lighthouse";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ expipiplus1 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|