Unverified Commit 004627cd authored by Atemu's avatar Atemu Committed by GitHub
Browse files

Merge pull request #299570 from Scrumplex/pkgs/openvr/2.5.1

openvr: 2.2.3 -> 2.5.1
parents 62ff5e68 bdd78d73
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -7,17 +7,18 @@
, lib
, libGL
, stdenv
, nix-update-script
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "openvr";
  version = "2.2.3";
  version = "2.5.1";

  src = fetchFromGitHub {
    owner = "ValveSoftware";
    repo = "openvr";
    rev = "v${finalAttrs.version}";
    hash = "sha256-Dpl88Te+EoVasoCtwERGrYt3xK8o03h15r8IVxxPPCw=";
    hash = "sha256-bIKjZ7DvJVmDK386WgXaAFQrS0E1TNEUMhfQp7FNnvk=";
  };

  patches = [
@@ -56,6 +57,8 @@ stdenv.mkDerivation (finalAttrs: {

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

  passthru.updateScript = nix-update-script { };

  meta = {
    broken = stdenv.isDarwin;
    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";
+1 −1
Original line number Diff line number Diff line
@@ -23765,7 +23765,7 @@ with pkgs;
  openvdb = callPackage ../development/libraries/openvdb { };
  openvr = callPackage ../development/libraries/openvr {
  openvr = callPackage ../by-name/op/openvr/package.nix {
    inherit (darwin.apple_sdk.frameworks) Foundation AppKit;
  };