Skip to content

Instantly share code, notes, and snippets.

@georgewsinger
Created October 10, 2017 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgewsinger/60914af053ca01fe636c5e08e9c639d1 to your computer and use it in GitHub Desktop.
Save georgewsinger/60914af053ca01fe636c5e08e9c639d1 to your computer and use it in GitHub Desktop.
OpenHMD.nix
{ pkgs ? import <nixpkgs> {}, stdenv, fetchgit, cmake, hidapi }:
stdenv.mkDerivation {
name = "OpenHMD";
buildInputs = with pkgs; [ cmake
hidapi
];
cmakeFlags = "-DOPENHMD_DRIVER_HTC_VIVE=ON";
# src = fetchgit {
# url = "https://github.com/OpenHMD/OpenHMD.git";
# #rev = "";
# sha256 = "1wf0x8xijci6w8arl1bx1l5wvw4acibgsjvmii7dnhyh60yr2h7j";
# };
src = ./.;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment