mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
vulkan-validation-layers: init at 1.1.77.0
This commit is contained in:
parent
937d6acb80
commit
07396a6145
28
pkgs/development/tools/vulkan-validation-layers/default.nix
Normal file
28
pkgs/development/tools/vulkan-validation-layers/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, python3, vulkan-headers, vulkan-loader,
|
||||
glslang, pkgconfig, x11, libxcb, libXrandr, wayland }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vulkan-validation-layers-${version}";
|
||||
version = "1.1.77.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-ValidationLayers";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "1c7m0x63fv8paph4rlha9bzv6sd0d7j277b31hh1sqkdcv2mzjhj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake python3 vulkan-headers vulkan-loader x11 libxcb libXrandr wayland ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [ "-DGLSLANG_INSTALL_DIR=${glslang}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LunarG Vulkan loader";
|
||||
homepage = "http://www.lunarg.com";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ralith ];
|
||||
};
|
||||
}
|
@ -12042,6 +12042,7 @@ with pkgs;
|
||||
|
||||
vulkan-headers = callPackage ../development/libraries/vulkan-headers { };
|
||||
vulkan-loader = callPackage ../development/libraries/vulkan-loader { };
|
||||
vulkan-validation-layers = callPackage ../development/tools/vulkan-validation-layers { };
|
||||
|
||||
vtkWithQt4 = vtk.override { qtLib = qt4; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user