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

openvr: 2.2.3 -> 2.5.1
This commit is contained in:
Atemu 2024-05-09 16:30:49 +02:00 committed by GitHub
commit 004627cd83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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";

View File

@ -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;
};