···5, jsoncpp
6, fetchFromGitHub
7, fetchpatch2
008}:
910stdenv.mkDerivation rec {
···41 '';
4243 nativeBuildInputs = [ cmake ];
44- buildInputs = [ jsoncpp libGL ];
4546 cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ];
4748- meta = with lib;{
049 homepage = "https://github.com/ValveSoftware/openvr";
50 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";
51 license = licenses.bsd3;
···5, jsoncpp
6, fetchFromGitHub
7, fetchpatch2
8+, Foundation
9+, AppKit
10}:
1112stdenv.mkDerivation rec {
···43 '';
4445 nativeBuildInputs = [ cmake ];
46+ buildInputs = [ jsoncpp libGL ] ++ lib.optionals stdenv.isDarwin [ Foundation AppKit ];
4748 cmakeFlags = [ "-DUSE_SYSTEM_JSONCPP=ON" "-DBUILD_SHARED=1" ];
4950+ meta = with lib; {
51+ broken = stdenv.isDarwin;
52 homepage = "https://github.com/ValveSoftware/openvr";
53 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";
54 license = licenses.bsd3;