mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
da042144da
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vulkan-tools/versions
29 lines
856 B
Nix
29 lines
856 B
Nix
{ stdenv, fetchFromGitHub, cmake, python3, vulkan-loader,
|
|
glslang, pkgconfig, xlibsWrapper, libxcb, libXrandr, wayland }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vulkan-tools-${version}";
|
|
version = "1.1.92";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KhronosGroup";
|
|
repo = "Vulkan-Tools";
|
|
rev = "sdk-${version}";
|
|
sha256 = "1khbfxp2mha7h0vqs0fkqscxm76gn3zlia8yya11lkhk7sn3h0d3";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
buildInputs = [ python3 vulkan-loader xlibsWrapper libxcb libXrandr wayland ];
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = [ "-DBUILD_ICD=OFF" "-DGLSLANG_INSTALL_DIR=${glslang}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "LunarG Vulkan loader";
|
|
homepage = https://www.lunarg.com;
|
|
platforms = platforms.linux;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ralith ];
|
|
};
|
|
}
|