18 pname = "opencomposite";
19 version = "0-unstable-2024-07-23";
21 src = fetchFromGitLab {
24 rev = "632e5cc50b913e93194ca2970e6f13021182579f";
25 hash = "sha256-KQmNyGRlbUrntTPNn5rzTyyR+Bvh3EfSqBgyNGGDo04=";
28 nativeBuildInputs = [ cmake ];
42 (lib.cmakeFeature "CMAKE_CXX_FLAGS" "-Wno-error=format-security")
43 (lib.cmakeBool "USE_SYSTEM_OPENXR" true)
44 (lib.cmakeBool "USE_SYSTEM_GLM" true)
49 mkdir -p $out/lib/opencomposite
50 cp -r bin/ $out/lib/opencomposite
54 passthru.updateScript = unstableGitUpdater {
55 hardcodeZeroVersion = true;
60 description = "Reimplementation of OpenVR, translating calls to OpenXR";
61 homepage = "https://gitlab.com/znixian/OpenOVR";
62 license = with lib.licenses; [ gpl3Only ];
63 maintainers = with lib.maintainers; [ Scrumplex ];