Unverified Commit 84423955 authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

Merge pull request #230903 from Scrumplex/openvr-darwin

openvr: mark as broken on Darwin
parents d9a32fcd d1d623f0
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@
, jsoncpp
, fetchFromGitHub
, fetchpatch2
, Foundation
, AppKit
}:

stdenv.mkDerivation rec {
@@ -41,11 +43,12 @@ stdenv.mkDerivation rec {
  '';

  nativeBuildInputs = [ cmake ];
  buildInputs = [ jsoncpp libGL ];
  buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ];

  cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ];

  meta = with lib; {
    broken = stdenv.isDarwin;
    homepage = "https://github.com/ValveSoftware/openvr";
    description = "An API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting";
    license = licenses.bsd3;
+3 −1
Original line number Diff line number Diff line
@@ -23221,7 +23221,9 @@ with pkgs;
  openvdb = callPackage ../development/libraries/openvdb { };
  openvr = callPackage ../development/libraries/openvr { };
  openvr = callPackage ../development/libraries/openvr {
    inherit (darwin.apple_sdk.frameworks) Foundation AppKit;
  };
  inherit (callPackages ../development/libraries/libressl { })
    libressl_3_4