Created
October 4, 2019 19:57
-
-
Save Slabity/d4afd7594ec4fe870df9eb230d6f86f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, fetchFromGitLab | |
, meson | |
, ninja | |
, pkgconfig | |
, cmake | |
, glib | |
, gdk-pixbuf | |
, vulkan-loader | |
, vulkan-headers | |
, graphene | |
, cairo | |
, shaderc | |
}: | |
stdenv.mkDerivation { | |
name = "gulkan"; | |
src = fetchFromGitLab { | |
domain = "gitlab.freedesktop.org"; | |
owner = "xrdesktop"; | |
repo = "gulkan"; | |
rev = "master"; | |
sha256 = "1sd66bz0kmgr3wn6113rbmh8qxis69b2ndlhlyaym5mrbvv12f7r"; | |
}; | |
nativeBuildInputs = [ | |
meson | |
ninja | |
pkgconfig | |
cmake | |
]; | |
buildInputs = [ | |
gdk-pixbuf | |
vulkan-loader | |
vulkan-headers | |
graphene | |
cairo | |
shaderc | |
]; | |
outputs = [ "out" "lib" ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, fetchFromGitLab | |
, meson | |
, pkgconfig | |
, cmake | |
, openvr | |
, gulkan | |
}: | |
stdenv.mkDerivation { | |
name = "gxr"; | |
src = fetchFromGitLab { | |
domain = "gitlab.freedesktop.org"; | |
owner = "xrdesktop"; | |
repo = "gxr"; | |
rev = "master"; | |
sha256 = "1qhxhxhmhns9a89ypd646fqi3x1xhxpdxy4lyf92nzd0pkln0v6a"; | |
}; | |
nativeBuildInputs = [ | |
meson | |
pkgconfig | |
cmake | |
gulkan | |
gulkan.out | |
gulkan.lib | |
]; | |
buildInputs = [ | |
openvr | |
gulkan | |
gulkan.out | |
gulkan.lib | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, cmake }: | |
stdenv.mkDerivation { | |
name = "openvr"; | |
src = fetchFromGitHub { | |
owner = "ValveSoftware"; | |
repo = "openvr"; | |
rev = "master"; | |
sha256 = "01kb0fq4dsyqznn6m3n272qr89g6i2vzp0srjmi6ldxz3w0rzmb2"; | |
}; | |
buildInputs = [ cmake ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment