Unverified Commit 7407c733 authored by Ryan Mulligan's avatar Ryan Mulligan Committed by GitHub
Browse files

lighthouse-steamvr: 1.1.1 -> 1.2.0 (#346466)

parents eb6e88a5 b88fc81a
Loading
Loading
Loading
Loading
+0 −1212

File deleted.

Preview size limit exceeded, changes collapsed.

+17 −16
Original line number Diff line number Diff line
{ stdenv, fetchFromGitHub, lib, rustPlatform, pkg-config, dbus }:
{
  stdenv,
  fetchFromGitHub,
  lib,
  rustPlatform,
  pkg-config,
  dbus,
  AppKit,
}:

rustPlatform.buildRustPackage rec {
  pname = "Lighthouse";
  version = "1.1.1";
  version = "1.2.0";

  src = fetchFromGitHub {
    owner = "ShayBox";
    repo = pname;
    rev = version;
    sha256 = "0g0cs54j1vmcig5nc8sqgx30nfn2zjs40pvv30j5g9cyyszbzwkw";
    hash = "sha256-uJ8U4knNKAliHjxP0JnV1lSCEsB6OHyYSbb5aWboYV4=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "clap-verbosity-flag-2.1.1" = "1213bsb0bpvv6621j9zicjsqy05sv21gh6inrvszqwcmj6fxxc7j";
    };
  };

  postPatch = ''
    cp ${./Cargo.lock} Cargo.lock
  '';
  cargoHash = "sha256-XVPrtZNLdF9mKSl56kBepkpXRQBJsu9KlZRhb6BeG/E=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ dbus ];
  buildInputs = [ dbus ] ++ lib.optionals stdenv.isDarwin [ AppKit ];

  meta = with lib; {
    broken = stdenv.hostPlatform.isDarwin;
    description = "VR Lighthouse power state management";
    homepage = "https://github.com/ShayBox/Lighthouse";
    license = licenses.mit;
    maintainers = with maintainers; [ expipiplus1 bddvlpr ];
    maintainers = with maintainers; [
      expipiplus1
      bddvlpr
    ];
    mainProgram = "lighthouse";
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -30922,7 +30922,9 @@ with pkgs;
  lightburn = libsForQt5.callPackage ../applications/graphics/lightburn { };
  lighthouse-steamvr = callPackage ../tools/misc/lighthouse-steamvr { };
  lighthouse-steamvr = callPackage ../tools/misc/lighthouse-steamvr {
    inherit (darwin.apple_sdk.frameworks) AppKit;
  };
  liblinphone = callPackage ../development/libraries/liblinphone { };