Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: spirv-tools 1.4.341.0 -> 2026.1 https://github.com/KhronosGroup/SPIRV-Tools/releases attrpath: spirv-tools Checking auto update branch... No auto update branch exists Old version 1.4.341.0" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, python3, spirv-headers, }: stdenv.mkDerivation (finalAttrs: { pname = "spirv-tools"; version = "1.4.350.0"; src = fetchFromGitHub { owner = "KhronosGroup"; repo = "SPIRV-Tools"; rev = "vulkan-sdk-${finalAttrs.version}"; hash = "sha256-tR3POZH/LXaAljMUS9aHBBvIvlr6o7d6+YUtJCRMS1w="; }; patches = [ # https://github.com/KhronosGroup/SPIRV-Tools/pull/6483 ./0001-Fix-generated-pkg-config-modules-with-absolute-insta.patch # backport to fix glslang tests # FIXME: remove in next update (fetchpatch { url = "https://github.com/KhronosGroup/SPIRV-Tools/commit/2ec8457ab33d539b6f1fecc998360c0b8b05ed4f.diff"; hash = "sha256-YHbYBwXMm4rTKpmMW6I3LUafhA4RuNUdXqUBUAXwXpE="; }) ] # The cmake options are sufficient for turning on static building, but not # for disabling shared building, just trim the shared lib from the CMake # description ++ lib.optional stdenv.hostPlatform.isStatic ./no-shared-libs.patch; outputs = [ "out" "lib" "dev" ]; nativeBuildInputs = [ cmake python3 ]; cmakeFlags = [ "-DSPIRV-Headers_SOURCE_DIR=${spirv-headers}" # Avoid blanket -Werror to evade build failures on less # tested compilers. "-DSPIRV_WERROR=OFF" ]; meta = { description = "SPIR-V Tools project provides an API and commands for processing SPIR-V modules"; homepage = "https://github.com/KhronosGroup/SPIRV-Tools"; license = lib.licenses.asl20; platforms = with lib.platforms; unix ++ windows; maintainers = [ lib.maintainers.ralith ]; }; })