spirv-headers: 1.3.243.0 -> 1.3.250.0

Diff: https://github.com/KhronosGroup/SPIRV-Headers/compare/sdk-1.3.243.0...sdk-1.3.250.0

Also remove now-unnecessary workaround.
This commit is contained in:
K900 2023-06-23 11:27:46 +03:00
parent 1a8fd67c6c
commit 4127d59666

View file

@ -2,23 +2,17 @@
stdenv.mkDerivation rec {
pname = "spirv-headers";
version = "1.3.243.0";
version = "1.3.250.0";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "sdk-${version}";
hash = "sha256-VOq3r6ZcbDGGxjqC4IoPMGC5n1APUPUAs9xcRzxdyfk=";
hash = "sha256-5mVcbOAuzux/Yuo0NMwZRTsdQr46UxjrtMhT5mPHyCQ=";
};
nativeBuildInputs = [ cmake ];
# https://github.com/KhronosGroup/SPIRV-Headers/issues/282
postPatch = ''
substituteInPlace SPIRV-Headers.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
meta = with lib; {
description = "Machine-readable components of the Khronos SPIR-V Registry";
homepage = "https://github.com/KhronosGroup/SPIRV-Headers";