Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
704 B
Nix
34 lines
704 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
rustPlatform,
|
|
pkg-config,
|
|
dbus,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "Lighthouse";
|
|
version = "1.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ShayBox";
|
|
repo = "Lighthouse";
|
|
rev = version;
|
|
hash = "sha256-GgKY7HDu6e/hpYNOZdcjLvaNfQOZMl+H6CmKTbd1LNE=";
|
|
};
|
|
|
|
cargoHash = "sha256-oC5HA6diRlRWoeeQQgWR32yxZ2BLyFmKbaSkFBLdrXc=";
|
|
|
|
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; [ bddvlpr ];
|
|
mainProgram = "lighthouse";
|
|
};
|
|
}
|