at 23.11-beta 22 lines 586 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "spirv-headers"; 5 version = "1.3.268.0"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "SPIRV-Headers"; 10 rev = "vulkan-sdk-${version}"; 11 hash = "sha256-uOnSTih14bUPtrJgp7vVb3/UfdKsF6jFQqjlFeJ81AI="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Machine-readable components of the Khronos SPIR-V Registry"; 18 homepage = "https://github.com/KhronosGroup/SPIRV-Headers"; 19 license = licenses.mit; 20 maintainers = [ maintainers.ralith ]; 21 }; 22}