vulkan-loader: init at 1.0.21.0
This commit is contained in:
parent
e6cfc62063
commit
aa8b69c1f6
33
pkgs/development/libraries/vulkan-loader/default.nix
Normal file
33
pkgs/development/libraries/vulkan-loader/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchgit, fetchFromGitHub, cmake, git, python3, libxcb
|
||||||
|
, python3Packages, glslang, pkgconfig, x11 }:
|
||||||
|
|
||||||
|
assert stdenv.system == "x86_64-linux";
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "vulkan-loader-${version}";
|
||||||
|
version = "1.0.21.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "KhronosGroup";
|
||||||
|
repo = "Vulkan-LoaderAndValidationLayers";
|
||||||
|
rev = "97e3b677d9681aa8d420c314edae96c4bf72246d";
|
||||||
|
sha256 = "1y42rlffmr80rd4m0xfv2mfwd9qvd680i18vr0xs109narb6fm4f";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake git python3 libxcb python3Packages.lxml glslang
|
||||||
|
pkgconfig x11
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/lib
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp loader/libvulkan.so* $out/lib
|
||||||
|
cp demos/vulkaninfo $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "LunarG Vulkan loader";
|
||||||
|
homepage = http://www.lunarg.com;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -9346,6 +9346,8 @@ in
|
|||||||
CoreText IOSurface ImageIO OpenGL GLUT;
|
CoreText IOSurface ImageIO OpenGL GLUT;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vulkan-loader = callPackage ../development/libraries/vulkan-loader { };
|
||||||
|
|
||||||
vtkWithQt4 = vtk.override { qtLib = qt4; };
|
vtkWithQt4 = vtk.override { qtLib = qt4; };
|
||||||
|
|
||||||
vxl = callPackage ../development/libraries/vxl {
|
vxl = callPackage ../development/libraries/vxl {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user