mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
1a8fd67c6c
commit
4127d59666
1 changed files with 2 additions and 8 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue