diff --git a/pkgs/tools/misc/lighthouse-steamvr/default.nix b/pkgs/tools/misc/lighthouse-steamvr/default.nix new file mode 100644 index 000000000000..ac3c6bcf1ad0 --- /dev/null +++ b/pkgs/tools/misc/lighthouse-steamvr/default.nix @@ -0,0 +1,27 @@ +{ fetchFromGitHub, lib, rustPlatform, pkg-config, dbus }: + +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; { + description = "VR Lighthouse power state management"; + homepage = "https://github.com/ShayBox/Lighthouse"; + license = licenses.mit; + maintainers = with maintainers; [ expipiplus1 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 52c23d8e4c44..f45f3c2c1c45 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26231,6 +26231,8 @@ with pkgs; lighthouse = callPackage ../applications/misc/lighthouse { }; + lighthouse-steamvr = callPackage ../tools/misc/lighthouse-steamvr { }; + lighttable = callPackage ../applications/editors/lighttable {}; libdsk = callPackage ../misc/emulators/libdsk { };