package spirv-headers { description = "machine-readable files for the SPIR-V Registry"; website = "https://github.com/KhronosGroup/SPIRV-Headers"; anitya = 230542; // upstream changed version scheme, anitya incapable of filtering them latest = anityaFilterSPIRV; version* = "1.4.341.0"; source = remoteGitHub { suffix = "KhronosGroup/SPIRV-Headers"; tag = "vulkan-sdk-"+version; checksum = "0PL43-19Iaw4k7_D8J8BvoJ-iLgCVSYZ2ThgDPGfAJwIJFtre7l0cnQtLjcY-JvD"; }; exec = cmake { // upstream has no tests skipTest = true; }; } package spirv-tools { description = "an API and commands for processing SPIR-V modules"; website = "https://github.com/KhronosGroup/SPIRV-Tools"; anitya = 14894; latest = anityaFallback; version* = "2026.1"; source = remoteGitHub { suffix = "KhronosGroup/SPIRV-Tools"; tag = "v"+version; checksum = "ZSQPQx8NltCDzQLk4qlaVxyWRWeI_JtsjEpeFt3kezTanl9DTHfLixSUCezMFBjv"; }; exec = cmake { cache = { "SPIRV-Headers_SOURCE_DIR": "/system"; }; }; inputs = [ python, spirv-headers, ]; runtime = [ spirv-headers ]; }